Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking down consumed system time?



Try using Shikari from the CHUD tools, it will tell you where your program is taking up all the CPU, can also see inside the kernel which in your case looks to be important.

Thanks,
Andrew Pinski


On Thursday, May 15, 2003, at 13:28 US/Eastern, Avi Drissman wrote:

I'm trying to determine why my app, which is normally such a quiet program, has, out-of-the-blue, started chewing up 100% of the CPU time (according to top on a DP machine). What's bizarre is that I ran sample, and 98% of the logged stack tops are calls indicating the app is asleep (mach_msg_trap and select). So where is the excessive CPU usage coming from?

I noticed then, at the top of the top display, the line of CPU usage indicating 20% user, 40% system, 40% idle. Maybe the system usage is being caused by me (thus showing in my top %CPU column) but isn't showing up in the sample output.

How do I track down excessive CPU usage classified as "sys" when sample shows nothing? How do I figure out what app it is, and how do I track it within that app?

Thanks for any suggestions.

Avi
--
Avi 'rlwimi' Drissman
email@hidden
Argh! This darn mail server is trunca
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Tracking down consumed system time? (From: Avi Drissman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.