SUMMARY: adb and examining running process

scott hollatz (shollatz@d.umn.edu)
Fri, 13 Jun 1997 11:53:12 -0500

ORIGINAL QUESTION

We need to examine the environment variables set in a running inetd
on a SPARCcenter 2000 under Solaris 2.5. This inetd was not started
at boot.

Are there adb commands to do this? What memory offset, etc? I
haven't used adb in a while.

Any info and alternate solutions (except writing code to be launched
by inetd) is appreciated. Will summarize.

SUMMARY

Most people suggested using '/usr/ucb/ps -aewwwx | grep inetd' and this
works fine for this situation.

I did _not_ want to use the currently running inetd in any way, except
indirectly. Some people suggested launching a program from inetd that
simply prints the environment. This was not an acceptable solution since
inetd was not trusted. :-)

Other solutions included proctool, pmap, getting inetd to dump core then do
a strings. Some of these worked, some didn't. No one suggested adb commands.

THANKS TO

rtrzaska@uk.mdis.com
kevin@uniq.com.au
ray@isor.vuw.ac.nz
glenn@uniq.com.au
fy@acm.org
Scott_Sullivan@mc.xerox.com
ssnodgra@fore.com
matt@hwcn.org

--
scott hollatz                         internet   shollatz@d.umn.edu
information services, systems        telephone   +1 218 726 8851
university of minnesota-duluth mn usa      fax   +1 218 726 7674
                                                                 --