有没有一种简单的方法可以查看正在运行的进程的真实,有效和已保存的UID和GID?
将ps
与U
, G
(实) g
, u
(有效)一起使用?
Did a quick read of the man page for ps. The following worked for me:
ps axo pid,ruid,euid,fuid,rgid,egid,fgid,ucmd | more
The /proc filesystem contains this information:
/proc/PID/status
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.