OS X Help Logo
Insanely simple tutorials for the first time Macintosh user
Web2 Delight - Transfer YouTube videos and Flickr photos to iPods. ✭

Customize your OS X clock and use it as a system lockup monitor

Written by: Scott Haneda on Wednesday April 16th 2008, 3:35 am

Filed under: Finder, Misc

It’s just a clock, how in the heck can it be used to tell you if your system is locked up? To be honest, it really can’t. However, I have used this tactic since way back in the OS 9 days, and it still works pretty darn well under OS X.

First I will start with the basics, customizing the clock, what you can change, and why you may want to. After a small history lesson in how OS 9 was not as smartly multi-threaded as OS X, I can then explain just how you can use your clock as a visual aid to tell you if your computer is stuck.

System clock customization
Unless you have moved your clock elsewhere, it should still be sitting in the upper right corner of your screen. If you click on it, you can select the last item in the list: Open Date & Time.

Once the Date & Time preference pane is open, you should see there are three “tabs” at the top. The first one, Date & Time, allows you to select if you want the clock to set itself automatically. You can also set the date here as well. As long as you have an Internet connection, OS X will poll what is called a time server every now and then. In most cases, you should never have to worry about your date or time being off by more than a few seconds.

The second tab in the Date & Time preference pane allows you to choose your time zone. This is important to do, as we all live in different time zones. Daylight Saving Time has been moved around a bit over the years; the time zone you pick, ensures you never have to think about setting your clock to do the “fall back” or “spring forward” routine.

And finally, the last tab is the Clock tab. And it is this area I will explain how to set in a certain way to help you determine system lock ups. The options here are pretty self-explanatory.

If you use the Analog clock, this tip is not going to be of much help to you.

The key here is to set it to “display the time with seconds”, or at the very least, “Flash the time separators”. Personally, I use both. At this point, just humor me and set your clock to show the seconds and the time separators, which will blink once a second.

A Brief History of Time
Long ago, before OS X, there was Apple OS 9 and earlier. OS 9 supported something called multi-threading. I can say the methods they used to support it were rather crafty, in the end though, less than ideal.

What this meant to a user was that you could do more than one thing at the same time. In real world use, multi-threading on OS 9 worked pretty good, but not perfectly. Using OS 9, you could forget about watching a movie while ripping an mp3. Some applications were written so poorly in this regard, just clicking and holding your mouse would freeze the entire system until you released the mouse.

Those days are long gone, but one of the side effects still remains. On OS 9, your clock would constantly lose time. Because the clock is an application of sorts, if another application got stuck in some way, the clock would get stuck. Over time, day-to-day use, you could lose a few minutes here and there. Not a big deal, because even OS 9 had the ability to reset the clock automatically by asking what the correct time is from a network time server.

Using a stalled clock to your advantage
While not nearly as often, nor as bad, OS X still suffers from the same stalling issues as OS 9. Certain applications can and will stall out your computer. Most of the time, it is for such a short period of time you will never notice. Further, the clock will again get auto reset to a network time server on a schedule.

A perfect example, one of my web servers, has been running for 134 days, in a logged out state; the clock is now 10 full minutes out of sync. Apparently network time servers are not polled on OS X when you are logged out.

Every now and then, my computer will lock up in some way. It could be a single application, or the entire system will freeze. Near all the time, I have mouse control, but I cannot seem to do anything else. Most of the time, I wait it out, and all returns to normal. It is just a badly written application that is stealing all the cycles from my computer, making it appear to be locked up.

And that is the key here, your machine only appears to be locked up, but you have no way of telling. Some of these stalls can last longer than I have patience. Most would reboot. Rebooting is bad because we all forget to save our data, and losing hours of work is no fun at all.

The trick here, if you can call it that, is to glance at your newly customized clock. If you see the seconds ticking by, or the time separator pulsing, more than likely, your machine is not locked up. Wait it out, and things should come back to normal.

If you look at your clock, and the seconds are not moving at all, your machine is locked up hard. You are, in 99% of the cases, going to need to reboot.

I know this seems rather trivial, but I have been using this tactic for years now. Mail.app is a known culprit, and will stall out for thirty seconds or more at times. I cannot switch from mail to another app, or force quit the application, as I am locked into this stall. I just look at the clock, notice the time is still ticking by, and know to at least wait it out.

It is sort of a last resort, but takes nothing more than a glance. At times, you may think your computer is frozen; the system clock is generally a very good indicator that your computer is still able to perform actions. The truth is any application that has constant animation to it is a good candidate to use as a tool like this. I find the system clock is always there, is one of Apple’s single most reliable system applications that provides, and has served me as a lock up detection tool for many years.

Want to be reminded when there are new posts?
Get post updates in your email or subscribe via RSS.
15 Comments so farLeave a comment

Scott-Many thx for your helpful site. I started following it even prior to buying my iMAC last week. I’ve made the clock change in hopes I will not have to cold boot ever again!
I am on dial-up and Safari seems to load even slower than my old 386. How do I determine my download speed in Safari? Your sage advice would be greatly appreciated. J.P.

Comment by jp 04.16.08 @ 9:56 am

That is a great technique~I’ve made the changes. I’ve had those freeze ups and wondered if it was an app or OS. Thank you!

Comment by JimB 04.16.08 @ 12:18 pm

@jp, there are a few ways to determine download speed. One is to use a service, such as http://www.speedtest.net/ though at times, they can be inaccurate.

If you look at /Applications/Utilities/Activity Monitor, you can see there is a Network tab at the bottom, that will show you, in real time, the data in and out in Bytes.

Comment by Scott Haneda 04.16.08 @ 2:16 pm

@Jim, thanks for the appreciation. This was a bit of a strange post, and I hoped people would understand what I was getting at. It is by no means a 100% perfect way to test a locked up machine, but for a quick glance method, it has served me well over the years.

Comment by Scott Haneda 04.16.08 @ 2:17 pm

Scott-Thanx for your prompt response re:Activity Monitor…I have tried to no avail - I get the monitor pane, but no activity on the network tab, even when loading web pages/mail. Perhaps dial up speeds are too low to register? A lengthy review of AppleHelp was not fruitful, and ;speedtest.net only measures broadbandspeeds (don’t I wish!)…Thx..J.P.

Comment by jp 04.17.08 @ 2:23 pm

@jp,
I use http://www.speakeasy.net/speedtest/ for my tests-I generally will do it a couple times if I’m suspicious with the results. I do sympathize~it wasn’t that long ago I suffered dial-up, playing solitaire waiting for pages to load. Even the lowest dsl offering is a huge improvement ;)

Comment by JimB 04.17.08 @ 2:24 pm

@jp, aside from installing a 3rd party network tool, which I am hesitant to recommend at this point, I can think of one other method.

Try downloading any file in Safari, makes little difference what, just try to have it be large. You can find a file at macupdate, or versiontracker, just any software should be fine.

Look at your Safari downloads manager window, that will also tell you the speed at which a file is being downloaded.

Comment by Scott Haneda 04.19.08 @ 9:20 am

Scott/Jim..Thanx to your efforts, I have determined my average dial-up speed on the new iMAC…The download manager idea did the trick….unfortunately, the test determined that ’speed’ as being 3Kb/Sec! This is with a new apple external modem and phone line.
One can only hope for future better service for outlying areas.
Thanx again for the sage and timely advice.
J.P.

Comment by jp 04.21.08 @ 12:08 pm

Thanks for this. I have had problems with the beachball every now and again which is quite frustrating because I could not figure out what is wrong.

As it turns out, this happens when I have been networking between my iMac and MBP, close the lid on the MBP and try to work on the iMac. The iMac, when it discovers a broken connection, freezes while it tries to re-establish connection with the MBP. If I am quick I can wake the MBP from sleep and the connection is re-established.

Sometimes it has been a while between closing the MBP and resuming work on the iMac and I sit there wondering what is up. Now I will go look at the clock and see what is happening and maybe it will jog my memory that I broke the connection.

By the way, is there anywhere I can go to change the amount of time spent trying to re-establish contact? (I am running Tiger)

Comment by WetcoastBob 04.24.08 @ 9:17 am

@WetcoastBob, you did not even need to tell me, I knew you were on 10.3 or 10.4 :-)

You are in a rough spot, Caroline’s laptop did this all the time as well. To my knowledge, and reading support articles on the matter, networking on older OS X’s is not so great when you leave a connection open.

The same happens to .mac users as well.

Unfortunately, the best I can tell you is to update to 10.5, where to date, I have not had an issue with this.

Sorry I can not be of more help.

Comment by Scott Haneda 04.24.08 @ 5:46 pm

I will be updating when my present project is complete. (I don’t need the distraction at the moment)

Cheers
Bob

Comment by WetcoastBob 04.25.08 @ 11:44 am

Thanks, Scott. This sounds like a great little tool. At least I’ll know if it is is isn’t locked! I was having locking issues last week because I clicked on the screen saver that uses the mosaic. It jammed twice so I gave it up. It was still “acting up” and luckily my guru reminded me to dump the preference file. It’s been fine for days now. But this little helpful technique of the flashing time separators and changing seconds (hey, I’m going with both *G*) will be very helpful.

Judie

Comment by Judie 04.26.08 @ 8:51 pm

@jp Look into HughesNet. The only requirement is to have a clear view of the southern sky. Basic plan is 700kbps down and 128kbps up.

Comment by Jack 04.26.08 @ 11:21 pm

@Judie, thanks for your comment. I do want to point out, this is just a small technique I have used in the past to give me a quick hint as to the state of my computer.

It worked much better on OS 9 since that OS was not nearly as resilient. The best point of this tip is that there are times when you think the machine is stuck, and you end up rebooting, and possibly losing unsaved data.

This will give you one last chance to see what is going on, and hopefully, allow you to wait it out. At least, give you the data you need to know if waiting it out is even a wise use of your time.

Comment by Scott Haneda 04.28.08 @ 7:14 pm

Very helpful. I’ve done a number of reboots and wondered if I had waited if it would have worked itself out. Thanks!

Comment by Mike 05.11.08 @ 5:51 pm



Leave a comment:
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed. Name (required)
E-mail (required), never ever shared
URI
Your Comment:

Apple Store
Apple Store
Apple Store