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