How do I get the full path name of the command used to start a process ?
(in a shell script)
Specifically a process might be started as "./xxx" where xxx is the binary.
No matter what version of ps I try it will not reveal to me where the binary
I've tried for example:
I also tried using /usr/proc/pmap <pid> but this command will only tell me the
full path of library files used by the process, not the binary itself.
Any ideas ?