Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!ox.com!math.fu-berlin.de!unidui!unido!logixwi!jpm From: jpm@logixwi.uucp (Jan-Piet Mens) Newsgroups: comp.unix.questions Subject: Re: idle time Message-ID: <1991Apr17.150347.29858@logixwi.uucp> Date: 17 Apr 91 15:03:47 GMT References: <1991Apr17.024209.1056@nmt.edu> Organization: Logix GmbH, Wiesbaden, W-Germany Lines: 16 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... >UTMP does not seem to hold the information I am looking for. Try having a look at the modification times of the user's /dev/tty* file. Regards, -JP -- Jan-Piet Mens, Logix GmbH jpm@logixwi.UUCP Moritzstr. 50, D-6200 Wiesbaden ...!uunet!mcsun!unido!logixwi!jpm