Re: How to determime process name from pid?
Look at code for 'ps' or 'lsof'. Regards, Justin On Monday, November 19, 2001, at 06:33 , 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 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ darwin-kernel mailing list darwin-kernel@lists.apple.com http://www.lists.apple.com/mailman/listinfo/darwin-kernel --- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | If you're not confused, | You're not paying attention *--------------------------------------*-------------------------------*
participants (1)
-
justin@mac.com