ps ax | tail -n 5 查看最后5个进程ps ax | head -n 5查看最初5个进程ps ax | grep 'php' 查找 匹配php相关的进程一般grep用的较多-a-x-u等参数