网站有时会很卡,能够先看看哪些ip访问最多,一行命令就能够列出来,以下所示bash
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n