MENU
last | awk '{print $3}' | egrep "([0-9]{1,3}[\.]){3}[0-9]{1,3}" | tr -s "\n" | sort | uniq -c | sort -rnk 1

统计主机最近登陆者ip的