查看指定类型进程的个数

1.查看全部进程数

ps -ef  | wc -l

2.查看httpd的进程数

ps -ef | grep httpd | wc -l

猜你喜欢

转载自blog.csdn.net/u010320371/article/details/81808624