您的位置:首页 > 其它

ps -C

2016-06-29 17:12 369 查看
[root@Nginx_BackUP keepalived]# ps -C nginx
PID TTY          TIME CMD
3965 ?        00:00:00 nginx
3966 ?        00:00:00 nginx
3968 ?        00:00:01 nginx
[root@Nginx_BackUP keepalived]# ps -C nginx  --no-header
3965 ?        00:00:00 nginx
3966 ?        00:00:00 nginx
3968 ?        00:00:01 nginx
#-C 接命令的名称 可查PID跟pgrep 差不多
[root@Nginx_BackUP keepalived]# pgrep nginx
3965
3966
3968
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: