Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!ux1.cso.uiuc.edu!resnick From: resnick@cogsci.uiuc.edu (Pete Resnick) Newsgroups: comp.sys.mac.programmer Subject: System Idle Time Message-ID: <1991Feb22.133727.15273@ux1.cso.uiuc.edu> Date: 22 Feb 91 13:37:27 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 14 What would be the best way to figure out the total time the system has been idle? When I say 'idle time', I mean the total number of seconds since the last mouse-moved, keydown, mouse-down, disk-insert, or any action by the user. I don't much care about network events. I am going to do this in a device driver or VBL, but any suggestions would be welcome. pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD