Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Mar 2001 00:18:54 -0700
From:      Wes Peters <wes@softweyr.com>
To:        bruno schwander <bschwand@dvart.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: examining the environment
Message-ID:  <3AA883DE.BBCBDD09@softweyr.com>
References:  <Pine.BSO.4.21.0103051732370.6833-100000@gandalf.bravenet.com> <200103060208.f2628PT49635@earth.backplane.com> <20010308213722.A83857@skriver.dk> <3AA7EF0B.434B8D8F@dvart.com>

next in thread | previous in thread | raw e-mail | index | archive | help
bruno schwander wrote:
> 
> Hi everybody,
> 
> How can I examine an other process environment ?
> 
> I have a daemon that needs to do something according to an environment
> variable set in a different process. Can I open an other process and lookup
> environment variables set in his space ?

ps can do this, check it's code.

-- 
           Where am I, and what am I doing in this handbasket?

Wes Peters                                                     wes@softweyr.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AA883DE.BBCBDD09>