Advertisement
Guest User

User idle seconds in OS X 10.8

a guest
Dec 10th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. echo $((`ioreg -c IOHIDSystem | sed -e '/HIDIdleTime/ !{ d' -e 't' -e '}' -e 's/.* = //g' -e 'q'` / 1000000000))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement