Sample Header Ad - 728x90

How can I see how long my computer has been active (as in not idle)

6 votes
4 answers
3661 views
I've seen a variety of solutions to check how long my machine has been idle, and I know I can check how long since last reboot with uptime, but I'm curious if there's a way to see how long since my computer was last idle. Maybe since the last time the power save settings kicked in, or last time since the screensaver turned on / monitor turned off, etc? I'm fine using an applescript or shell command to determine this, if those are the best solutions.
Asked by hookedonwinter (161 rep)
Jul 18, 2012, 02:52 PM
Last activity: Jul 24, 2025, 01:06 PM