redis connection break-down by machine:
$ for sys in `grep -i established redis-connection.log | sed 's/..*->\([^:][^:]*\):.*/\1/' | sort -u`; do echo ""; echo ":: $sys"; grep -i established redis-connection.log | grep $sys | wc -l; done
:: 129.132.181.134 207
:: 129.132.181.136 224
:: 129.132.181.138 176
:: gemsun01.ethz.ch 107
:: gemsun02.ethz.ch 83
:: gemsun03.ethz.ch 101
:: gemsun04.ethz.ch 120
:: localhost 1
redis connection break-down by machine:
$ for sys in `grep -i established redis-connectio n.log | sed 's/..*- >\([^:] [^:]*\) :.*/\1/ ' | sort -u`; do echo ""; echo ":: $sys"; grep -i established redis-connectio n.log | grep $sys | wc -l; done
:: 129.132.181.134
207
:: 129.132.181.136
224
:: 129.132.181.138
176
:: gemsun01.ethz.ch
107
:: gemsun02.ethz.ch
83
:: gemsun03.ethz.ch
101
:: gemsun04.ethz.ch
120
:: localhost
1