How to find idle times.

Julian Daley jdaley%uxg.umds.lon.ac.uk at pucc.princeton.edu
Tue Aug 21 08:36:29 AEST 1990


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
-------------------------------------------------------------------------------



More information about the Comp.unix.questions mailing list