Reference

clear counters all

Clear all counters on the Stats page.

Description Jump to heading

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 Jump to heading

This resets all counters to zero:

nix
echo "clear counters all" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "clear counters all" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999

See also Jump to heading

Do you have any suggestions on how we can improve the content of this page?