如何在没有lsof的情况下获取binarys到进程的路径?


1

我怎样才能找出进程中二进制文件的路径是什么?喜欢:

[usern@hostn ~]$ ps aux | grep -i gnome-session
gbor      2844  0.0  0.2  38072  7152 ?        Ssl  05:53   0:00 gnome-session
[usern@hostn ~]$ lsof | grep -i gnome-session
gnome-ses  2844      gbor  txt       REG      253,1   252592     792784 /usr/bin/gnome-session
[usern@hostn ~]$ 

不使用“lsof”

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.