On Nov 30, 2007, at 2:12 PM, Stockly, Ed wrote: > Is there a shell command that will return how much time has passed > since the > last time a user moved or clicked the mouse or hit a key on the > keyboard? > > ES > A little Google-fu led me to this charm. ioreg -n IOPower -l |grep -i idle It gives idles for various devices. They seem to be in order of last use but that might not always be the case. Time is expressed in 10^-9 seconds! They claim it works in panther. I know it works in leopard. -Mark Who remembers life before google; We used this list.