Hello Everyone!
As a continuation of this question I'm wondering if I can get some simple sample code as to how to make use of getrusage. I would like to use it to find the time CPU used by a process, ideally from the PID.
I'm working in Cocoa, Objective_C and of course C. Any help would be awesome!
Thanks