linux 统计进程数量
比如目前统计有多少个httpd进程
ps ax|grep httpd|wc -l
谢谢陈总的指点
受到热心的朋友sofire的指点
ps ax|grep httpd|wc -l 应该再-1
因为得出的结果包括grep httpd
在此谢过sofire
比如目前统计有多少个httpd进程
ps ax|grep httpd|wc -l
谢谢陈总的指点
受到热心的朋友sofire的指点
ps ax|grep httpd|wc -l 应该再-1
因为得出的结果包括grep httpd
在此谢过sofire
RSS feed for comments on this post. TrackBack URI
Powered by WordPress
呵呵,谢谢你的提醒,确实是这样的,有空多交流哦,我的msn:supertaoer@hotmail.com
要减一,因为算上了:grep httpd进程