README.md in haproxyctl-1.0.0 vs README.md in haproxyctl-1.1.0
- old
+ new
@@ -48,11 +48,11 @@
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 stat [counter...]: 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
@@ -219,13 +219,41 @@
static,apache_guinea,0,0,0,10,,24091,9895320,2263895160,,0,,0,0,0,0,UP,1,1,0,2,0,2144680,0,,1,6,7,,24091,,2,0,,100,L4OK,,0,0,20593,3038,459,0,0,0,,,,1241,0,
static,BACKEND,0,0,0,60,0,92841,37107745,12609282341,0,0,,1,29,59,13,UP,6,6,0,,0,2144680,0,,1,6,0,,92854,,1,0,,131,,,,0,78901,11763,2165,12,0,,,,,7257,23,
ssh,localhost,0,0,0,3,,122,54524,291662,,0,,0,0,0,0,UP,1,1,0,0,0,2144680,0,,1,7,1,,122,,2,0,,10,L4OK,,0,0,121,0,1,0,0,0,,,,0,0,
ssh,BACKEND,0,0,0,3,0,122,54524,291662,0,0,,0,0,0,0,UP,1,1,0,,0,2144680,0,,1,7,0,,122,,1,0,,10,,,,0,121,0,1,0,0,,,,,0,0,
</pre>
-
-## More additions: Enables or disables a target server from every backend it appears.
+### Extends stat command to print only counters supplied as arguments
<pre>
+ ./haproxyctl "show stat qcur qmax"
+ http,FRONTEND,,
+ sinatra,sinatra_downoi,0,0
+ sinatra,sinatra_rindica,0,0
+ sinatra,sinatra_guinea,0,0
+ sinatra,BACKEND,0,0
+ ei,guinea,0,0
+ ei,belem,0,0
+ ei,BACKEND,0,0
+ drop,guinea,0,0
+ drop,belem,0,0
+ drop,BACKEND,0,0
+ apache,guinea,0,0
+ apache,belem,0,0
+ apache,BACKEND,0,0
+ static,ngnix_downoi,0,0
+ static,ngnix_petite,0,0
+ static,ngnix_rindica,0,0
+ static,nginx_stellatus,0,0
+ static,nginx_belem,0,0
+ static,nginx_petite,0,0
+ static,apache_guinea,0,0
+ static,BACKEND,0,0
+ ssh,localhost,0,0
+ ssh,BACKEND,0,0
+</pre>
+
+## Enable or disable a target server from every backend it appears.
+<pre>
./haproxyctl "show health"
# pxname svname status weight
http FRONTEND OPEN
sinatra sinatra_downoi DOWN 1
sinatra sinatra_rindica DOWN 1
@@ -304,20 +332,19 @@
</pre>
Contributors
------------
-Ordered by date of first contribution.
-[Auto-generated](http://github.com/dtrejo/node-authors) on Thu Aug 16 2012 15:45:25 GMT-0700 (PDT).
-
- [flores aka `flores`](https://github.com/flores)
- [Scott Gonyea aka `sgonyea`](https://github.com/sgonyea)
- [Ben Lovett aka `blovett`](https://github.com/blovett)
- [John A. Barbuto aka `jbarbuto`](https://github.com/jbarbuto)
- [Till Klampaeckel aka `till`](https://github.com/till)
- [Erik Osterman aka `osterman`](https://github.com/osterman)
- [Martin Hald aka `mhald`](https://github.com/mhald)
- [deniedboarding](https://github.com/deniedboarding)
+- [Aaron Blew aka `blewa`](https://github.com/blewa)
+- [Nick Griffiths aka `nicobrevin`](https://github.com/nicobrevin)
License
-----------------
This code is released under the MIT License. You should feel free to do whatever you want with it.