# 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:~#