idle time

Jan-Piet Mens jpm at logixwi.uucp
Thu Apr 18 01:03:47 AEST 1991


dkpsy121 at 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 at logixwi.UUCP
Moritzstr. 50, D-6200 Wiesbaden            ...!uunet!mcsun!unido!logixwi!jpm



More information about the Comp.unix.questions mailing list