Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!theep!isomr!bma35b!alex From: alex@bma35b.ma02.bull.com (Alex Bottonelli) Newsgroups: comp.unix.admin Subject: Re: get user's idle time Summary: Try who -u Message-ID: <31@bma35b.ma02.bull.com> Date: 11 Dec 90 16:05:55 GMT References: <1990Nov27.202215.4061@cubmol.bio.columbia.edu> Organization: Bull Hn Italia - Newton Massachussetts USA Lines: 16 In article <1990Nov27.202215.4061@cubmol.bio.columbia.edu>, ping@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. > > -ping On my system ( System V ) who accepts a -u option that will display the idle time of a user's tty ( a dot '.' for no idle time ). Does your system have such a option for who ? Hope it helps ____ ___ || Alessandro Bottonelli / / / / |/ || Bull Hn Italia /---/ / /--- / || 141 Needham St. - Ms 213 / / /___ /___ /| || Tel. xx1-617-552-6471 _____________________) || Fax. xx1-617-552-5318 || Net. ..!uunet!hbiso!bma35b!alex