Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / May 2007



Tip: Looking for answers? Try searching our database.

top source code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Feanor - 30 May 2007 21:46 GMT
Can anyone either post the source code for the top command or tell me
where it is located? I'm writing a C daemon to report the CPU usage
stats, what top does is perfect, I just need code to implement it.

Thanks,

Feanor
Reinder Verlinde - 30 May 2007 22:22 GMT
> Can anyone either post the source code for the top command or tell me
> where it is located? I'm writing a C daemon to report the CPU usage
> stats, what top does is perfect, I just need code to implement it.

<http://www.opensource.apple.com/darwinsource/10.4.9.x86/top-17.4/>
seems to be the latest version on Apple's site.

Reinder
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.