查看linux下程序的连接数
时间:2009-06-22 来源:dengfu2345678910
1. netstat -a |grep 9988 |wc -l 2.ps -ef|grep httpd |wc -l 3.apache的连接数位置:vi httpd.con中找 mpm (Include conf/extra/httpd-mpm.conf)
cd extra/httpd-mpm.conf 找pre
即:<IfModule mpm_prefork_module>
StartServers 20
MinSpareServers 10
MaxSpareServers 20
MaxClients 20
MaxRequestsPerChild 0
</IfModule>
各部分
相关阅读 更多 +