Mac tip of the day – Monitor CPU usage in the dock.
Maybe I am the only one out there who didn’t know this feature existed on a Mac but I stumbled upon it tonight. As a Flash Developer I am constantly watching the CPU usage when I am QAing my work. I am also constantly fighting for screen real estate.As developers we have all experienced memory leaks, have accidently forgot to delete intervals or even worse ENTER_FRAMEs, or have tried to implement an animation where the animator went a little crazy with some filters. Prior to Flex 3′s Profiler us Mac users had to open our Activity Monitor and try to jam it in the corner of the screen where we can see the browsers CPU Usage column through all the other windows open. Tonight I figured out how to show the CPU Usage in the dock.
- First open the Activity Monitor
- Right Click (or click and hold, or CTRL click) on the Activity Monitor icon in the dock and select ‘Keep in Dock’ (if it’s not already there)
- Right click on the Activity Monitor icon again and select the ‘dock icons’ menu
- From the ‘dock icons’ menu select the ‘Show CPU Usage’ item
- There you have it, a nice little visual representation of your CPU usage, it is even separated by cores (if applicable)
Like I said at the beginning of this post, a lot of you probably already knew this and stopped reading this post after the first sentence. However I do know there are a lot of developers switching to Mac, so this Bud’s for you…err…post’s for you.