Subject: Re: better w(1)
To: matthew green <mrg@eterna.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 06/20/1999 18:35:25
On Mon, 21 Jun 1999 11:23:07 +1000 
 matthew green <mrg@eterna.com.au> wrote:

 > i installed this a few weeks ago and it's great.  it looks exactly
 > like our w(1) except that it ignores utmp and uses the process list
 > to find out who is doing what on which tty!  most excellent.

...how about using kvm_getprocs() instead, rather than groveling
the proclist manually?

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>