Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Record CPU usage for a given process over time' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Record CPU usage for a given process over time
Authored by: mario_grgic on Oct 29, '09 08:28:20AM

Doesn't BigTop (included with developer tools) show nice graphs for CPU, memory, disk usage etc, and I believe it also allows you to save the graphs.

It already calculates basic stats, but I don't know if that is enough for you.



[ Reply to This | # ]
Record CPU usage for a given process over time
Authored by: robg on Oct 29, '09 09:40:03AM

I hadn't run Big Top before; it's interesting. I need to see if it will run in a "collect only" fashion and let me get to the data -- I don't really want the overhead of real time graphing and a whole GUI.

Thanks for the pointer!

-rob.



[ Reply to This | # ]
Record CPU usage for a given process over time
Authored by: mario_grgic on Oct 29, '09 04:40:54PM

It sounds like you really want Instruments/Activity Monitor Instrument

this allows you to record same things that activity monitor shows, and save it, or export as comma separated values list that you can open directly in Excel or other tools.



[ Reply to This | # ]
Record CPU usage for a given process over time
Authored by: robg on Oct 30, '09 04:10:04AM

When I was testing Instruments, part of my problem with it was the amount of CPU time that it took -- I was seeing ranges from 8% up to 30% for sampling while doing the other stuff.

That seems excessive, especially when I'm trying to give as much CPU as possible to the app I'm measuring.

Probably there are ways to reduce this -- I need to read the Help file for Instruments, it seems (as I can't even see how to export at first glance).

thanks;
-rob.



[ Reply to This | # ]