查到PID后通过readlink命令反向找到程序存放路径

[EUT@EALwc egm_01]$ ps -fe |grep egm 
EUT 4293 1 0 2014 ? 00:00:50 ./bin/egm_01
EUT 20196 9732 0 11:41 pts/0 00:00:00 grep egm
[EUT@EALwc egm_01]$ readlink /proc/4293/exe 
/EUT/internal/pgm/egm/egm_01/bin/egm_01

linuxlogo


发表评论

登录 后发表评论.