![]() Version history: Download: |
UptimeMac is an uptime display and logging application for Mac OS. It displays the current uptime (how long the machine has been running) in a window on the screen in the form of a mock LCD display, and maintains a crash-proof uptime log on disc (written to disc once every minute). Use of both features is optional. Further, you can copy the machine’s uptime to the clipboard from the program. The program is scriptable, allowing other programs to request the machine’s uptime. Recent changes in 2.0.12.0.1 introduces several small fixes. First and foremost, I have only just had an uptime long enough to realise that the display wraps at anything from 28-31 days. Initially it will reach 31 days and then return to 0; it will then continue to 29 before reverting to 0, and then 31 again, and so forth. Yes, I was reading the wrong value from the Date object used for my calculations. Another improvement allows for it to easily and correctly reach its potential of 999 days, or just over 2 2⁄3 years (three digits). After 999 days, it should wrap around to zero days and continue without crashing or displaying garbage. (If you think this is funny, UptimeMac 1.0 had a 99-hour display limit! After which, it went haywire.) I have also discovered that the display ceases to update each second after an uptime of, it seems (I have yet to reboot!), just over 24 days. After this, the only way to get an updated reading was via AppleScript/Cmd-C or by closing and re-opening the LCD window. I cannot fix this, it seems to be a fundamental flaw in REALbasic timers; however, I have patched the program to nevertheless draw in an updated uptime readout each time the LCD window is activated, so each time you switch to the program you will get a new reading. The window just won’t animate after that point. Finally, I have made a couple of improvements to the LCD display, including a return of the colon between the hours and minutes; the omission of this last time was pure laziness I think :) A note on accuracy of the uptime display A possible alternative to check out, for the curious, is John Bafford’s Timer, which requires only something like System Software 7.0 or 7.1, and includes a couple of stopwatches as a bonus. I have not tested this program myself, however. Discontinued: |