Subject: Re: better w(1)
To: Darren Reed <>
From: Jason Thorpe <>
List: current-users
Date: 06/21/1999 08:17:11
On Mon, 21 Jun 1999 17:06:27 +1000 (EST) 
 Darren Reed <> wrote:

 > Ummm, I used uses sysctl() to get process information rather than
 > kvm_getprocs() (which I suspect uses sysctl() or at least could).

Hm, I guess I missed that.

Anyhow, you should use kvm_getprocs() so that it works on crash dumps.

(kvm_getprocs() uses sysctl on live kernels.)

        -- Jason R. Thorpe <>