diff --git a/src/cli.c b/src/cli.c index 3aa5f230b..23ab57b73 100644 --- a/src/cli.c +++ b/src/cli.c @@ -1068,7 +1068,7 @@ static int cli_io_handler_show_activity(struct appctx *appctx) chunk_reset(&trash); - chunk_appendf(&trash, "thread_id: %u", tid); + chunk_appendf(&trash, "thread_id: %u (%u..%u)", tid + 1, 1, global.nbthread); chunk_appendf(&trash, "\ndate_now: %lu.%06lu", (long)now.tv_sec, (long)now.tv_usec); chunk_appendf(&trash, "\nloops:"); for (thr = 0; thr < global.nbthread; thr++) chunk_appendf(&trash, " %u", activity[thr].loops); chunk_appendf(&trash, "\nwake_cache:"); for (thr = 0; thr < global.nbthread; thr++) chunk_appendf(&trash, " %u", activity[thr].wake_cache);