ps -ef -u root -U root
Also displays processes whose user is not root (the current user). Can someone explain me why ?
-u : EUID
-U : RUID
Because you use -e option, it causes ps select all processes.
POSIX define ps -e as:
Write information for all processes (Equivalent to -A.)
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1 year ago