FW: Re: How can I access the environment of another process?
From: Jim Magee <jmagee@apple.com> Date: Wed, 12 Mar 2003 00:11:55 -0500 To: Michael Marti <m.marti@cfp.ist.utl.pt> Subject: Re: How can I access the environment of another process? On Tuesday, March 11, 2003, at 04:17 PM, Michael Marti wrote:
Can anyone tell me, how I can access the environment variables of a
process
of which I have the kinfo_proc structure.
The environment variables are available in the address space of the process, and you can use Mach APIs to read the address space of other processes. But before describing how that could be done...
We are running a computation cluster with 20 Dual G4's. The job
scheduling
system sometimes leaves some processes on the node after it kills a
job.
Can the job system be modified to create all these processes in the same process group? It sure would make "reaping" them much easier. --Jim _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Michael Marti