HAProxy Enterprise Documentation 2.4r1
show activity
Report counters related to internal process events.
Description
Report counters related to internal process events of interest to developers and experienced troubleshooters.
Output consists of one line per metric accompanied by per-thread counters. Counters are 32 bit and wrap during the process's lifetime. Counters may be reset with the clear counters
command.
Examples
Show all counters.
$ echo "show activity" | \
sudo socat stdio unix-connect:/var/run/hapee-2.4/hapee-lb.sock
thread_id: 1 (1..2)
date_now: 1681766495.596952
ctxsw: 535 [ 172 363 ]
tasksw: 534 [ 171 363 ]
empty_rq: 4 [ 0 4 ]
long_rq: 0 [ 0 0 ]
loops: 834 [ 371 463 ]
wake_tasks: 0 [ 0 0 ]
wake_signal: 0 [ 0 0 ]
poll_io: 230 [ 69 161 ]
poll_exp: 0 [ 0 0 ]
poll_drop_fd: 0 [ 0 0 ]
poll_skip_fd: 0 [ 0 0 ]
conn_dead: 0 [ 0 0 ]
stream_calls: 1 [ 1 0 ]
pool_fail: 0 [ 0 0 ]
buf_wait: 0 [ 0 0 ]
cpust_ms_tot: 3 [ 1 2 ]
cpust_ms_1s: 0 [ 0 0 ]
cpust_ms_15s: 0 [ 0 0 ]
avg_loop_us: 28 [ 21 34 ]
accepted: 1 [ 0 1 ]
accq_pushed: 1 [ 1 0 ]
accq_full: 0 [ 0 0 ]
accq_ring: 0 [ 0 0 ]
fd_takeover: 0 [ 0 0 ]
See also
Next up
show backend