From owner-freebsd-hackers Tue Mar 13 10:36: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.dvart.com (mail.dvart.com [64.79.2.12]) by hub.freebsd.org (Postfix) with ESMTP id ACEC437B718 for ; Tue, 13 Mar 2001 10:36:04 -0800 (PST) (envelope-from bschwand@dvart.com) Received: from dvart.com (pipin.dvart.com [64.79.2.4]) by mail.dvart.com (Postfix) with ESMTP id 222C9CCE6 for ; Tue, 13 Mar 2001 10:36:45 +0000 (GMT) Message-ID: <3AAE688E.42A59DEE@dvart.com> Date: Tue, 13 Mar 2001 10:35:58 -0800 From: bruno schwander X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Re: examining the environment References: <200103060208.f2628PT49635@earth.backplane.com> <20010308213722.A83857@skriver.dk> <3AA7EF0B.434B8D8F@dvart.com> <3AA883DE.BBCBDD09@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks everybody, I checked the code and the magic function is kvm_getenvv() bruno Wes Peters wrote: > 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 -- ########################################################################### Bruno Schwander Senior Software Engineer Worldgate Communications, Inc email: bschwand@dvart.com ############################################################################ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message