Nice article: http://www.mgoff.in/2010/07/14/haproxy-gathering-stats-using-socat/
http://code.google.com/p/haproxy-docs/wiki/UnixSocketCommands
haproxy.cfg:
stats socket /var/haproxy level admin
$ echo "clear counters all" | socat unix-connect:/var/haproxy stdio
http://code.google.com/p/haproxy-docs/wiki/UnixSocketCommands
haproxy.cfg:
stats socket /var/haproxy level admin
$ echo "clear counters all" | socat unix-connect:/var/haproxy stdio