LoginSignup
0
0

More than 3 years have passed since last update.

Get absolute path of running process

Posted at

$ ps -ef | grep containerd

root      8723  8715  0 12:26 ?        00:00:01 containerd

If there have many commands with name containerd, the result may let some annoyance.

If you want to know the full path of the process, can do this:

$ ls -al /proc/8723/exe 
lrwxrwxrwx 1 root root 0 Feb 14 12:26 /proc/8723/exe -> /usr/local/bin/containerd
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0