linux - find effective id euid for process with pid=<some number> -
how find euid of process if know pid tried process id using :
ps -f -u user1
then tried ps aux , ps -ef
grep pid
can not see euid
i seek info man pages man ps
seems confusing newbie me.
you looking ps
option: -o euid
examples:
display pid's euid
ps -eo pid,euid | grep your_pid_here
display pid's euid, ruid , suid
ps -eo pid,euid,ruid,suid | grep your_pid_here
linux process ps uid
No comments:
Post a Comment