1 2 3 4 5 6 7 8 9 10 11 | 一共开了多少的 php-cgi 进程 ps -fe |grep "php-fpm"|grep "pool"|wc -l 有多少个php-cgi进程用来处理tcp请求 netstat -anp|grep "php-fpm"|grep "tcp"|grep "pool"|wc -l 当前服务器执行 free -m 查看消耗内存最多的前40个进程: ps auxw|head -1;ps auxw|sort -rn -k4|head -40 |
1 2 3 4 5 6 7 8 9 10 11 | 一共开了多少的 php-cgi 进程 ps -fe |grep "php-fpm"|grep "pool"|wc -l 有多少个php-cgi进程用来处理tcp请求 netstat -anp|grep "php-fpm"|grep "tcp"|grep "pool"|wc -l 当前服务器执行 free -m 查看消耗内存最多的前40个进程: ps auxw|head -1;ps auxw|sort -rn -k4|head -40 |
没有评论