HAProxy Enterprise Documentation 2.0r1

clear counters all

Clear all counters on the Stats page.

Description

On the Stats page, some counters accumulate over time, while others record the peak that a counter has reached. Use clear counters all to reset all counters to zero. The result is the same as restarting the load balancer, which also resets these values.

Examples

This resets all counters to zero:

$ echo "clear counters all" | socat stdio tcp4-connect:127.0.0.1:9999

See also


Next up

Lua