
Flash Advertise
| Linux服务器维护 统计连接数查看外部IP | |
| 摘自: linux.ccidnet.com 被阅读次数: 60 | |
由 yangyi 于 2008-05-02 21:09:25 提供 | |
服务器上的一些统计数据: 1)统计80端口连接数 netstat -nat|grep -i "80"|wc -l 1 2)统计httpd协议连接数 ps -ef|grep httpd|wc -l 1 3)、统计已连接上的,状态为“established' netstat -na|grep ESTABLISHED|wc -l 2 4)、查出哪个IP地址连接最多,将其封了.
|