46 messages in com.omnigroup.macosx-devRe: /proc, procfs(5), etc.
FromSent OnAttachments
Rich MorinDec 19, 2002 1:58 pm 
Eric PeytonDec 19, 2002 2:26 pm 
Nick ZitzmannDec 19, 2002 3:00 pm 
Rich MorinDec 19, 2002 4:46 pm 
Ryan DingmanDec 19, 2002 6:32 pm 
Michael GrantDec 20, 2002 7:21 am 
Jeremy ErwinDec 20, 2002 7:43 am 
Michael GrantDec 20, 2002 8:15 am 
Dennis De MarsDec 20, 2002 8:16 am 
Terrance DavisDec 20, 2002 8:26 am 
Clark S. Cox IIIDec 20, 2002 8:27 am 
Michael GrantDec 20, 2002 10:24 am 
Clark S. Cox IIIDec 20, 2002 10:31 am 
Philip GeorgeDec 20, 2002 12:21 pm 
Patrick CoskrenDec 20, 2002 12:34 pm 
Clark S. Cox IIIDec 20, 2002 12:39 pm 
Patrick CoskrenDec 20, 2002 12:50 pm 
Nick ZitzmannDec 20, 2002 1:01 pm 
Philip GeorgeDec 20, 2002 1:05 pm 
Finlay DobbieDec 20, 2002 1:15 pm 
Philip MötteliDec 20, 2002 1:19 pm 
Avi CherryDec 20, 2002 1:21 pm 
Philip GeorgeDec 20, 2002 2:05 pm 
Gregory WestonDec 20, 2002 3:21 pm 
Philip GeorgeDec 20, 2002 4:22 pm 
Finlay DobbieDec 20, 2002 4:31 pm 
Ryan StevensDec 20, 2002 5:35 pm 
Jonathan HendryDec 20, 2002 9:16 pm 
Philip GeorgeDec 20, 2002 9:42 pm 
j o a rDec 21, 2002 1:26 am 
John C. RandolphDec 23, 2002 4:30 pm 
Philip GeorgeDec 23, 2002 7:41 pm 
Ben HinesDec 23, 2002 8:53 pm 
Scott RibeDec 24, 2002 1:08 pm 
Gregory WestonDec 24, 2002 1:26 pm 
Ben HinesDec 24, 2002 6:41 pm 
Ben HinesDec 24, 2002 6:55 pm 
Greg HulandsDec 24, 2002 7:14 pm 
Philip GeorgeDec 24, 2002 11:16 pm 
Philip GeorgeDec 25, 2002 8:47 am 
Jonathan HendryDec 25, 2002 9:05 am 
Finlay DobbieDec 25, 2002 9:15 am 
Andrew Zamler-CarhartDec 25, 2002 12:05 pm 
Philip GeorgeDec 25, 2002 6:02 pm 
Michael GrantDec 26, 2002 12:22 pm 
Finlay DobbieDec 26, 2002 1:07 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: /proc, procfs(5), etc.Actions...
From:Eric Peyton (epey@epicware.com)
Date:Dec 19, 2002 2:26:38 pm
List:com.omnigroup.macosx-dev

On Thursday, December 19, 2002, at 03:54 PM, Rich Morin wrote:

The ps(1) man page refers to both /proc and procfs(5). I can't find either of these, however, on my 10.2.2 system. Is there some form of /proc on OSX?

OS X does not have /proc nor a procfs

More to the point, what I'm really trying to do is get a complete list of PPIDs for every process that runs on the system. Running ps once a second gets the longer-lived processes, but misses a few of the extremely transient ones. acct(5) doesn't miss anything, and gives some other useful info, but it doesn't give PPID. Help?

You will need to write your own setuid or root run tool that does the same as ps or top. I suggest grabbing the source for them out of Darwin.

Eric