SUMMARY: Seeing another process's environment variable...

From: James Cayz (cayz@del-aware.lib.de.us)
Date: Fri Aug 30 1996 - 16:29:55 CDT


[Sorry for the bad (question-less) summary I posted earlier]

Only this Morning I wrote
> Date: Fri, 30 Aug 1996 09:23:56 -0400 (EDT)
> From: James Cayz <cayz@del-aware.lib.de.us>
> Reply-to: James Cayz <cayz@del-aware.lib.de.us>
> To: sun-managers@ra.mcs.anl.gov
> Subject: Seeing another process's environment variable...

> Hi All,
>
> I have a Sun Netra / Ultra I-145 running Solaris 2.5.1 . In
> previous lives, I was able to see the enviroment variables for any
> process on the system by using ps ewww {pid}.
>
> This does not work on this machine. No such option (e or
> www).
>
> So, how does one go about doing this? Specifically, I need to
> see a process-defined environment variable from a process that is
> running under userid & groupid.
>
> Any suggestions, etc are welcome.
>
> Please, if I missed this in the Summary, I did check. And,
> yes, I RTFM as well.
>
> I will post a summary.
All,

        Whew, this list is BLAZING....

        /usr/ucb/ps was the answer. Use all the arguments I used to
use (ps ewww). Just change the path, and I am going!

        Thank you all for your help. Still getting used to where
everything is located on the machine, and finding out that a Netra
install is not as complete as I thought. We had to add the
"development" modules back in to the system to get the compiler to
work, but it is obvious that there is still some stuff missing. There
are only about 12 CD's with this beast, and I haven't gotten around to
looking at most of them. But I got ps (from another sun), and my
process checker is working again...

        Thanks to the instant help of:

        Miguel Marques <miguel@YorkU.CA>
        Stephen Harris <sweh@mpn.com>
        Daniel Lorenzini <lorenzd@gcm.com>
        Alex Finkel <afinkel@pfn.com>
        Casper Dik <casper@holland.Sun.COM>

        And to anyone else who has seen the message, knows the answer,
and either already sent a message I haven't gotten, but were going to
reply real soon.

        And yes, I (as a newbie to this list, but not to others) am VERY
VERY impressed by the speed of the response.

        Hope I can help someone someday!

        James

+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
[ James Cayz: cayz@lib.de.us # Voice 302-739-4748 x130 / Fax 302-739-6948 ]
[ Delaware Division of Libraries # 43 S. DuPont Hwy / Dover, DE 19901-7430 ]
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:09 CDT