]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: activity: indicate the number of calls on "show tasks"
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Sep 2025 08:09:33 +0000 (10:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Sep 2025 08:44:33 +0000 (10:44 +0200)
commit9eb35563a654d24544dd037aeef0494793070c7e
treeb46e90ef8e00038296eefa9927bfcca866da45db
parent17d33923484ba5661f8938b55cc825b156766955
MINOR: activity: indicate the number of calls on "show tasks"

The "show tasks" command can be useful to inspect run queues for active
tasks, but currently it's difficult to distinguish an occasional running
task from a heavily active one. Let's collect the number of calls for
each of them, report them average on the number of instances of each task
as well as a percentage of the total used. This way it even becomes
possible to get a hint about how CPU usage is distributed.
src/activity.c