root@fluorine:/a/mw-log# zgrep 'Failed connecting to redis server' archive/hhvm.log-201507* | awk '{print $12}' | cut -d ':' -f 1 | sort | uniq -c | sort -n | grep -v ';' 1 10.3.9 1 10.64.0.201 4 10.64.32.76 46 10.64.32.163 49 10.64.32.161 54 10.64.32.166 58 10.64.48.102 59 10.64.32.164 61 10.64.48.95 65 10.64.48.96 83 10.64.32.165 89 10.64.48.103 92 10.64.48.104 164 10.64.0.180 189 10.64.0.185 197 10.64.0.181 204 10.64.32.162 212 10.64.0.184 276 10.64.0.183 287 10.64.48.101 387 10.64.0.182 root@fluorine:/a/mw-log#