Skip to content

Instantly share code, notes, and snippets.

@flores
Created October 18, 2010 18:19
Show Gist options
  • Save flores/632709 to your computer and use it in GitHub Desktop.
Save flores/632709 to your computer and use it in GitHub Desktop.
wet:~# # remove a server from the rotation. takes the argument of backend/server
wet:~# ./proxyctl "disable server static/nginx_stellatus"
wet:~#
wet:~# # let's see the status of that server now. MAINT is, as you'd expect, maintenance mode
wet:~# ./proxyctl "show stat" |grep -i nginx_stellatus
static,nginx_stellatus,0,0,0,3,,966,368345,253599033,,0,,0,0,0,0,MAINT,1,1,0,1,0,297143,0,,1,4,3,,966,,2,0,,5,INI,,0,0,847,49,70,0,0,0,,,,124,1,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment