This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### 根据进程id查端口号 | |
| netstat -anop|grep 12146 | |
| ### 统计访问日志IP和每个IP访问的次数 | |
| cat /home/wwwlogs/access-test.log | awk '{print $1}' |sort| uniq -c |sort -rn |head -10 | |
| ### CPU占用最多的前10个进程 |