答案1
直接来自man ps
:
By default, ps selects all processes with the same effective user ID
(euid=EUID) as the current user and associated with the same terminal
as the invoker.
要查看所有进程,您需要类似ps -ef | grep <userid>
.
直接来自man ps
:
By default, ps selects all processes with the same effective user ID
(euid=EUID) as the current user and associated with the same terminal
as the invoker.
要查看所有进程,您需要类似ps -ef | grep <userid>
.