Discussion:
replace execname with value from /proc/<pid>/auxv
goinsane
2010-11-16 13:55:02 UTC
Permalink
Hi,

I'm running several process whose execname is equal, but their name of /proc/<pid>/auxv differs. How could I access the name from /proc/<pid>/auxv within a probe instead of execname? sys/auxv.h does not give me the glue.


thank you,

regards, goinsane
--
This message posted from opensolaris.org
goinsane
2010-11-19 07:35:35 UTC
Permalink
Used curpsinfo->pr_psargs as it contains the args of the process, including argv[0] .
--
This message posted from opensolaris.org
Loading...