Created
February 18, 2015 22:57
-
-
Save binarytemple/6d2e69250dc0ef577e4b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/zsh | |
| TARGS_W="-k ha_cnt_nosrv 'within[.] binh 900 1,10,100,1000,10000,100000' +k chat 'within[.] event' -k chat '+ within[.] duration drop binh 60 1,10,100,1000,10000,100000' -k '^ha_cnt' 'within[.] binh 900 1,10,100,1000,10000,100000' +k '^[^h]*[^a]*cnt' '+ within[.] binf 900 1,10,100,1000,10000,100000' -k cnt '+ within[.] binh 900 1,10,100,1000,10000,100000' +k err 'within[.] acount 900' -k err '+ within[.] event' -k evt 'within[.] acount 900' -dk none" | |
| TARGS="-k ha_cnt_nosrv 'within[.] binh 900 1,10,100,1000,10000,100000' +k chat 'event' -k chat '+ duration drop binh 60 1,10,100,1000,10000,100000' -k '^ha_cnt' 'within[.] binh 900 1,10,100,1000,10000,100000' +k '^[^h]*[^a]*cnt' '+ within[.] binf 900 1,10,100,1000,10000,100000' -k cnt '+ within[.] binh 900 1,10,100,1000,10000,100000' +k err 'within[.] acount 900' -k err '+ within[.] event' -k evt 'within[.] acount 900' -dk none" | |
| CHAT_ONLY="+k chat 'within[.] event' -k chat '+within[.] duration drop lines' -k -dk none" | |
| eval "tplot -if ./haproxy.cs.plot -o ./haproxy.cs-within.png -or 2600x10000 ${TARGS_W} &" | |
| eval "tplot -if ./haproxy.eds.plot -o ./haproxy.eds-within.png -or 2600x5000 ${TARGS_W} &" | |
| wait | |
| eval "tplot -if ./haproxy.both.plot -o ./haproxy.both-within.png -or 2600x10000 ${TARGS_W} &" | |
| eval "tplot -if ./haproxy.cs.plot -o ./haproxy.cs.png -or 2600x20000 ${TARGS} &" | |
| wait | |
| eval "tplot -if ./haproxy.eds.plot -o ./haproxy.eds.png -or 2600x20000 ${TARGS} &" | |
| eval "tplot -if ./haproxy.both.plot -o /haproxy.both.png -or 2600x30000 ${TARGS} &" | |
| wait | |
| eval "tplot -if ./haproxy.both.plot -o ./haproxy.chats.png -or 2600x30000 ${CHAT_ONLY} &" | |
| wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment