diff --git a/include/types/stats.h b/include/types/stats.h index 702246871..b4124334a 100644 --- a/include/types/stats.h +++ b/include/types/stats.h @@ -239,6 +239,7 @@ enum info_field { INF_NAME, INF_VERSION, INF_RELEASE_DATE, + INF_NBTHREAD, INF_NBPROC, INF_PROCESS_NUM, INF_PID, diff --git a/src/stats.c b/src/stats.c index 61e054981..b592ced57 100644 --- a/src/stats.c +++ b/src/stats.c @@ -81,6 +81,7 @@ const char *info_field_names[INF_TOTAL_FIELDS] = { [INF_NAME] = "Name", [INF_VERSION] = "Version", [INF_RELEASE_DATE] = "Release_date", + [INF_NBTHREAD] = "Nbthread", [INF_NBPROC] = "Nbproc", [INF_PROCESS_NUM] = "Process_num", [INF_PID] = "Pid", @@ -2277,7 +2278,7 @@ static void stats_dump_html_info(struct stream_interface *si, struct uri_auth *u "
| \n"
- " pid = %d (process #%d, nbproc = %d) pid = %d (process #%d, nbproc = %d, nbthread = %d) |