Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!mauxci!eci386!ecicrl!clewis From: clewis@ferret.ocunix.on.ca (Chris Lewis) Newsgroups: comp.unix.questions Subject: Re: idle time Message-ID: <1417@ecicrl.ocunix.on.ca> Date: 19 Apr 91 03:48:34 GMT References: <1991Apr17.024209.1056@nmt.edu> Organization: Elegant Communications Inc., Ottawa, Canada Lines: 13 In article <1991Apr17.024209.1056@nmt.edu> dkpsy121@nmt.edu (Master Bater) writes: >I need some help in trying to get the idle time of a user on a tty in C, kinda >like the way finger does... Look at the access or modify time on the serial port that the user is logged into. One of these will be the last time that a key was hit. Approximately. On most systems. -- Chris Lewis, Phone: (613) 832-0541, Internet: clewis@ferret.ocunix.on.ca UUCP: uunet!mitel!cunews!latour!ecicrl!clewis; Ferret Mailing List: ferret-request@eci386; Psroff (not Adobe Transcript) enquiries: psroff-request@eci386 or Canada 416-832-0541. Psroff 3.0 in c.s.u soon!