get user's idle time
Wm E. Davidsen Jr
davidsen at sixhub.UUCP
Wed Nov 28 14:03:21 AEST 1990
In article <1990Nov27.202215.4061 at cubmol.bio.columbia.edu> ping at cubmol.bio.columbia.edu (Shiping Zhang) writes:
| Could anyone tell me how to get an user's idle time? Either from
| system calls in C or from a shell script. Thanks.
The latest version of my screen blanker looks at the time since last
modification of the virtual terminal. It's easy to extend this to serial
or ethernet lines.
--
bill davidsen - davidsen at sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
sysop *IX BBS and Public Access UNIX
moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me
More information about the Comp.unix.admin
mailing list