Created
April 22, 2016 21:16
-
-
Save hartfordfive/ac96bfabd5f64acf4c0af968c8220557 to your computer and use it in GitHub Desktop.
Get HAProxy stats via socket
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "show info" | socat unix-connect:[STATS_SOCKET_PATH] stdio | |
| echo "show stat" | socat unix-connect:[STATS_SOCKET_PATH] stdio | |
| echo "show errors" | socat unix-connect:[STATS_SOCKET_PATH] stdio | |
| echo "show sess" | socat unix-connect:[STATS_SOCKET_PATH] stdio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment