Re: How to determime process name from pid?
Re: How to determime process name from pid?
- Subject: Re: How to determime process name from pid?
- From: Umesh Vaishampayan <email@hidden>
- Date: Mon, 19 Nov 2001 12:51:51 -0800
Moved to "email@hidden".
On Monday, November 19, 2001, at 06:33 AM, Kevin Bohan wrote:
If I have a PID is there a way (not is a shell script, but in C code) to
determine what the name of the process whose PID this is, if there is a
process with this PID.
Kirby
What do you plan to do with the name?
Look at "ps" sources to see how it does it....
--Umesh
--
Umesh Vaishampayan Apple Computer, Inc.
Mac OS X Kernel Ph: (408) 974 0229