Linux pwdx命令

# pwdx pid 查看这个pid对应的进程启动的路径
root@performance:~# pwdx --help Usage: pwdx [options] pid... Options: -h, --help display this help and exit -V, --version output version information and exit For more details see pwdx(1). root@performance:~#
root@performance:~# ps -ef|grep python
root      353966       1  0 09:24 ?        00:00:00 python3 app.py
root      354064       1  0 09:24 ?        00:00:06 python3 app.py
root      375868  353513  0 10:08 pts/0    00:00:00 grep python
root@performance:~#
root@performance:~# pwdx 353966
353966: /root/daizc/mantis-stat-master
root@performance:~#

 

posted @ 2024-07-08 10:10  你说夕阳很美  阅读(88)  评论(0)    收藏  举报