Section: Mac Software, System Utilities, Features, How-To
When running booted in Mac OS X v10.5 Leopard, my unibody MacBook can go literally for weeks without a restart. With the much more buggy Mac OS X v10.6 Snow Leopard, I rarely last much over four to five days without needing a reboot to restore some function or another. If you’re absent-minded like me, it’s often useful to know exactly how long it’s been since your last reboot. You can find out using the terminal and some command line syntax, but a much slicker way to check your uptime status is with a little application you can make yourself and access from the Scripts menulet.
In order to create this AppleScript app., open the AppleScript Editor utility (it lives in the Utilities Folder in your Applications Folder), and paste the following syntax into a new document window.
set output to do shell script “uptime”
tell application […]
Read the original post by Charles Moore