[vox-tech] any way to spy on a process's environment?
Henry House
vox-tech@lists.lugod.org
Sun, 26 May 2002 22:15:51 -0700
--Yylu36WmvOXNoKYn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, May 25, 2002 at 06:02:10PM -0700, Charles Polisher wrote:
> May 25,Shawn P. Neugebauer wrote:
> > > Does anyone know a way to peek at the environment of a processes, e.g=
., a
> > > daemon?
> >=20
> > sure, "cat /proc/PID/environ" where PID is the process ID.
>=20
> That's the best way for sure. Once in a while this is handy
> too: ps ewww (note there's no hyphen in front of the args,
> that means something completely different. The ps command
> line is a shambling mound of conflicting paradigms).
Both approaches work perfectly. Thanks for your replies.
--=20
Henry House
The attached file is a digital signature. See <http://romana.hajhouse.org/p=
gp>
for information. My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.
--Yylu36WmvOXNoKYn
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE88cEHKK1cAVjXujwRAnvcAJwK0ZtDx+kprTlOaBQZTYA6XnRXRACfQmjM
hDjSB1WLhyizHdaIEFKdYIQ=
=vpse
-----END PGP SIGNATURE-----
--Yylu36WmvOXNoKYn--