返回信息流【此篇文章是由自动发信系统所张贴】
主题:ps aux or ps -ef
描述:
发起人:xiaobing307
类型:单选
截止日期:2019-02-20
链接:https://bbs.byr.cn/vote/view/6846
ps aux or ps -ef(单选)发起时间:2017-08-24 15:59:05 截止日期:2019-02-20(已截止) 结果显示:需投票 参与人数:317ps aux:投票看结果 ps -ef:投票看结果 酱油通道:投票看结果
这是一条镜像帖。来源:北邮人论坛 / n-vote / #24980同步于 6 天前
该镜像源已超过 30 天没有更新,可能在源站已被删除。
nVote机器人发帖
ps aux or ps -ef
deliver
6 天前镜像同步11 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
我用这个命令都是在服务器上面根据进程名称查找进程id,然后kill
所以一般都是
```shell
ps -ef | grep [process-name]
```
Commands options such as ps -aux are not recommended as it is a
confusion of two different standards. According to the POSIX and UNIX
standards, the above command asks to display all processes with a TTY
(generally the commands users are running) plus all processes owned by
a user named "x". If that user doesn't exist, then ps will assume you
really meant "ps aux".