Guest User

Untitled

a guest
Jun 18th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. wet:~# chmod +x proxyctl
  2. wet:~# ./proxyctl help
  3. Unknown command. Please enter one of the following commands only :
  4. 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
  5.  
  6. wet:~#
  7. wet:~# # who's connected
  8. wet:~# ./proxyctl "show sess"
  9. 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
  10. 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=
  11.  
  12. wet:~# # clipping the output for statistics for brevity
  13. wet:~# ./proxyctl "show stat" |head
  14.  
  15. 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,
  16. 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,,,
  17. 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,
  18. 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,
  19. 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,
  20. 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,
  21. 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,
  22. 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,
  23. 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,
  24. 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,
Add Comment
Please, Sign In to add comment