On Mon, 4 Feb 2002, Magdalinin Kirill wrote:

> can anyone give an idea of C code on how to quickly count
> the number of processes for a given user? I want to patch

You could try kvm_getprocs with an argument of KERN_PROC_UID.

Andrew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to