Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!news From: jdaley%uxg.umds.lon.ac.uk@pucc.princeton.edu ( Julian Daley) Newsgroups: comp.unix.questions Subject: How to find idle times. Message-ID: <24236@adm.BRL.MIL> Date: 20 Aug 90 22:36:29 GMT Sender: news@adm.BRL.MIL Lines: 15 The 'w' command prints out the time each logged-in user has been idle. How do I get at that infomation myself, without grep'ing etc the output ? The /etc/utmp file dosen't store this information, so it must come from somewhere else (kmem ?). Any pointer gratefully received. Thanks, Julian. ------------------------------------------------------------------------------ Julian Daley, JANET: jdaley @ uk.ac.lon.umds.uxg Guy's Hospital, EARN/BITNET: jdaley % uxg.umds.lon.ac.uk @ ukacrl London, England. INTERNET: jdaley % uxg.umds.lon.ac.uk @ cunyvm.cuny.edu -------------------------------------------------------------------------------