Skip to contentSkip to conversation

Knowing command path

DISCUSSION Giacomo 1 participant 1 message Jan 13, 2006 netfilter

lore
Share & tools
lore

Giacomo

author
#0 lore raw

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]

- - - - - - - - - - - - - - - - - - - - - -