查看链接数netstat
摘要:1、统计某一端口的连接数 netstat -nat | grep -i "端口号" | wc -l (netstat -nat会打印系统当前网络链接状态,而grep -i "端口号"是用来提取与该端口有关的连接的,wc -l进行连接数统计) 2、查看apache当前并发访问数(已连接上的,状态为“e
阅读全文
posted @ 2017-07-04 11:24
posted @ 2017-07-04 11:24
posted @ 2017-02-28 12:02