Knowing command path
Good morning, is there a way to get the command name of a process together with its full execution path.
That is, if i read the field 'comm' of a task struct associated with pid X, i get the process name, i.e. "firefox"
But i would like to read "/usr/local/bin/firefox" instead.
Thanks a lot!
--
Giacomo S.
http://www.giacomos.it
- - - - - - - - - - - - - - - - - - - - - -
Running IPFIRE-wall on debian GNU/Linux
http://www.giacomos.it/ipfire
http://www.debian.org
mailto:
[email protected]
[email protected]
[email protected]
- - - - - - - - - - - - - - - - - - - - - -