标签:logs last span awk style bsp 用户数 end class
sudo lastb |grep ssh |awk ‘{ count[$3]++} END{ for(ip in count) print ip, ": " count[ip]}‘ |sort -nrk 3
Linux统计机器上登陆失败的用户数量
原文地址:http://www.cnblogs.com/imzye/p/7257201.html