In Windows environment there is an API to obtain the path which is running a process. Is there something similar in Unix / Linux?
Or is there some other way to do th
I use:
ps -ef | grep 786
Replace 786 with your PID or process name.