A Frozen Menu Bar…Crazy!

By Matt@Smalldog.com

Recently the menus for fast user switching and the menu bar clock have been malfunctioning on on my PowerMac at work: I would get the spinning beach ball whenever I’d move the mouse over them. It seemed very odd to me to have just a few menus lock up. I fired up terminal, and opened top, which is the command-line version of Activity Monitor. Top has several columns and lots of information to offer, but I’m going to focus on just two of them here: PID and %CPU.

PID is the process ID number. The PIDs start at 1, and each time a new process is spawned it’s assigned a new number. On my machine right now, the PID for a process called SystemUIServer is 319. SystemUIServer controls the menu bar clock, among other things. The CPU column shows what percentage of your processor is being used by which process.

Once in top I noticed that SystemUIServer was taking up nearly all the resources my dual processor G5 had to offer—160. On dual processor and dual core machines, the processing capacity is 200%; for quad models like the Mac Pro, Intel Xserve, and PowerMac G5 Quad, the capacity is 400%.

So…knowing the process to blame and its PID number, I then used kill, a command to immediately terminate problematic processes—similar to the Finder’s Force Quit command. The syntax is as follows:

sudo kill 319

where sudo gives you temporary “super user” privileges, kill forces the process to quit, and 319 is the PID.

Extending this a bit further, if you find your computer oddly frozen, fire up terminal, type top, hit return, and see if any one process is taking up lots of processing power under the %CPU column.

You could, of course, do all this in Activity Monitor, but somehow doing it in the Terminal makes me feel geekier. Sometimes that’s a good thing.

By Matt@Smalldog.com

Similar Posts

  • The Horror: Kernel Panics

    By Todd@Smalldog.com I thought in the spirit of Halloween I would talk about some rather scary things to see on your mac. The…

  • On the iPhoto File Structure

    I could condense all my iPhoto wisdom in one sentence: for your own benefit, please never, ever open the iPhoto folder library folder…

  • Instantly Backup Your Address Book

    I typically use iSync and .Mac to backup and sync my Address Book across multiple Macs, and on my Treo cell phone. However,…

  • Neato Keyboard Shortcut!

    Did you know that you can trigger Apple’s built-in dictionary in almost any system window, such as TextEdit, Safari, and Mail? This allows…

  • High Dynamic Range

    High Dynamic Range (or “HDR”) brings a little professional technique to your iOS 7 photos by taking three exposures with one snap: normal,…

  • Spring Cleaning – For Your Mac!

    By Matt@Smalldog.com Spring cleaning is an interesting phenomenon. Many of us feel compelled to thoroughly clean our physical living and work spaces when…