Created
October 18, 2010 17:43
-
-
Save flores/632649 to your computer and use it in GitHub Desktop.
This file contains 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
wet:~# chmod +x proxyctl | |
wet:~# ./proxyctl help | |
Unknown command. Please enter one of the following commands only : | |
clear counters : clear max statistics counters (add 'all' for all counters) help : this message prompt : toggle interactive mode with prompt quit : disconnect show info : report information about the running process show stat : report counters for each proxy and server show errors : report last request and response errors for each proxy show sess [id] : report the list of current sessions or dump this session get weight : report a server's current weight set weight : change a server's weight set timeout : change a timeout setting disable server : set a server in maintenance mode enable server : re-enable a server that was previously in maintenance mode | |
wet:~# | |
wet:~# # who's connected | |
wet:~# ./proxyctl "show sess" | |
0x8111a70: proto=tcpv4 src=82.41.169.69:49837 fe=http be=static srv=nginx_stellatus ts=04 age=1m1s calls=6 rq[f=1901000h,l=0,an=800h,rx=,wx=,ax=] rp[f=110010h,l=8030,an=100000h,rx=,wx=59s,ax=] s0=[7,10h,fd=1,ex=] s1=[7,1ch,fd=2,ex=] exp=59s | |
0x80ff128: proto=unix_stream ts=0b age=0s calls=1 rq[f=d09200h,l=0,an=00h,rx=10s,wx=,ax=] rp[f=008002h,l=241,an=00h,rx=,wx=,ax=] s0=[7,8h,fd=3,ex=] s1=[7,8h,fd=-1,ex=] exp= | |
wet:~# # clipping the output for statistics for brevity | |
wet:~# ./proxyctl "show stat" |head | |
pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastchg,downtime,qlimit,pid,iid,sid,throttle,lbtot,tracked,type,rate,rate_lim,rate_max,check_status,check_code,check_duration,hrsp_1xx,hrsp_2xx,hrsp_3xx,hrsp_4xx,hrsp_5xx,hrsp_other,hanafail,req_rate,req_rate_max,req_tot,cli_abrt,srv_abrt, | |
http,FRONTEND,,,1,14,5000,3345,2294226,1307245729,0,0,127,,,,,OPEN,,,,,,,,,1,1,0,,,,0,0,0,29,,,,0,4772,210,453,10,7,,0,29,5452,,, | |
apache,wet,0,0,0,5,,396,448841,2224532,,0,,0,0,0,0,UP,1,1,0,0,0,293763,0,,1,2,1,,396,,2,0,,5,L4OK,,0,0,396,0,0,0,0,0,,,,0,0, | |
apache,BACKEND,0,0,0,5,0,396,448841,2224532,0,0,,0,0,0,0,UP,1,1,0,,0,293763,0,,1,2,0,,396,,1,0,,5,,,,0,396,0,0,0,0,,,,,0,0, | |
sinatra,sinatra_downoi,0,0,0,2,,74,28102,222463,,0,,0,0,0,0,UP,1,1,0,4,0,293763,0,,1,3,1,,74,,2,0,,7,L4OK,,46,0,68,0,3,3,0,0,,,,0,0, | |
sinatra,sinatra_rindica,0,0,0,3,,75,28445,227871,,0,,0,0,0,0,UP,1,1,0,3,0,293763,0,,1,3,2,,75,,2,0,,8,L4OK,,46,0,70,0,2,3,0,0,,,,0,0, | |
sinatra,sinatra_wet,0,0,0,2,,147,40014,496695,,0,,0,0,0,0,UP,1,1,0,0,0,293763,0,,1,3,3,,147,,2,0,,17,L4OK,,0,0,143,0,2,2,0,0,,,,0,0, | |
sinatra,BACKEND,0,0,0,7,0,296,96561,947029,0,0,,0,0,0,0,UP,3,3,0,,0,293763,0,,1,3,0,,296,,1,0,,29,,,,0,281,0,7,8,0,,,,,0,0, | |
static,ngnix_downoi,0,0,0,3,,868,320236,260539022,,0,,0,2,0,0,UP,1,1,0,2,0,293763,0,,1,4,1,,868,,2,0,,4,L4OK,,46,0,765,39,63,0,0,0,,,,157,1, | |
static,ngnix_rindica,0,0,0,3,,883,337528,304014483,,0,,0,3,0,0,UP,1,1,0,2,0,293763,0,,1,4,2,,883,,2,0,,5,L4OK,,46,0,775,45,63,0,0,0,,,,139,4, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment