Re: Pointers on finding sources for command line tools?
Re: Pointers on finding sources for command line tools?
- Subject: Re: Pointers on finding sources for command line tools?
- From: "Jason Townsend" <email@hidden>
- Date: Tue, 1 May 2007 13:26:27 -0700
It's in the adv_cmds project. You could use darwinxref (part of
darwinbuild - http://opendarwin.org/projects/darwinbuild/) to figure
this out.
http://www.opensource.apple.com/darwinsource/10.4.9.x86/adv_cmds-79.1.4/ps.tproj/
I believe the info you are looking for can be retrieved using the
sysctl() function.
-Jason
On 5/1/07, JASON RUSOFF <email@hidden> wrote:
I'm wondering how a newbie can figure out where the code for a certain tool (ps) would be in all of the packages that make up darwin. I'm trying to get the memory that is used by a process and saw that ps already has that coded. Now I just need to figure out where the code for ps lives.
Thanks for any pointers,
Jason
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden