代码改变世界

文章分类 -  监控

linux中netstat查看

2016-03-18 16:41 by joe_tester, 404 阅读, 收藏,
摘要: 服务器上的一些统计数据: 1)统计80端口连接数 netstat -nat|grep -i "80"|wc -l 2)统计httpd协议连接数 ps -ef|grep httpd|wc -l 3)统计已连接上的,状态为“established netstat -na|grep ESTABLISHED 阅读全文