Skip to content

Instantly share code, notes, and snippets.

@wrunk
Created December 20, 2011 01:46
Show Gist options
  • Save wrunk/1499847 to your computer and use it in GitHub Desktop.
Save wrunk/1499847 to your computer and use it in GitHub Desktop.
Haproxy stats commands
const char stats_sock_usage_msg[] =
"Unknown command. Please enter one of the following commands only :\n"
" clear counters : clear max statistics counters (add 'all' for all counters)\n"
" help : this message\n"
" prompt : toggle interactive mode with prompt\n"
" quit : disconnect\n"
" show info : report information about the running process\n"
" show stat : report counters for each proxy and server\n"
" show errors : report last request and response errors for each proxy\n"
" show sess [id] : report the list of current sessions or dump this session\n"
" get weight : report a server's current weight\n"
" set weight : change a server's weight\n"
" set timeout : change a timeout setting\n"
" disable server : set a server in maintenance mode\n"
" enable server : re-enable a server that was previously in maintenance mode\n"
"";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment