Linux统计机器上登陆失败的用户数量 sudo lastb |grep ssh |awk '{ count[$3]++} END{ for(ip in count) print ip, ": " count[ip]}' |sort -nrk 3