Showing environment of running process?

From: Nardmann, Heiko (heiko.nardmann@secunet.com)
Date: Fri Jun 16 2006 - 08:41:44 EDT


Hi together,

I'm currently looking for a way to dump the environment variables set for a
running process. I've looked at the ps and prstat man pages, I googled but
without success. I have found the psinfo_t structure with the pr_envp field
in it but have not been able to dump it.

Any idea how to do this?

--
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50
[demime 1.01b removed an attachment of type application/pgp-signature]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:08 EDT