Update the man page for kvm_getprocs.3 to reflect our sysctl-based
kvm mechanism. Submitted by: (Vic Abell) <abe@cc.purdue.edu>
This commit is contained in:
parent
14eb79c475
commit
d0be0c2b72
@ -34,6 +34,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)kvm_getprocs.3 8.1 (Berkeley) 6/4/93
|
.\" @(#)kvm_getprocs.3 8.1 (Berkeley) 6/4/93
|
||||||
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 4, 1993
|
.Dd June 4, 1993
|
||||||
.Dt KVM_GETPROCS 3
|
.Dt KVM_GETPROCS 3
|
||||||
@ -45,8 +46,7 @@
|
|||||||
.Nd access user process state
|
.Nd access user process state
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <kvm.h>
|
.Fd #include <kvm.h>
|
||||||
.Fd #include <sys/kinfo.h>
|
.Fd #include <sys/sysctl.h>
|
||||||
.Fd #include <sys/kinfo_proc.h>
|
|
||||||
.\" .Fa kvm_t *kd
|
.\" .Fa kvm_t *kd
|
||||||
.br
|
.br
|
||||||
.Ft struct kinfo_proc *
|
.Ft struct kinfo_proc *
|
||||||
@ -69,24 +69,24 @@ returned. The value of
|
|||||||
describes the filtering predicate as follows:
|
describes the filtering predicate as follows:
|
||||||
.Pp
|
.Pp
|
||||||
.Bl -tag -width 20n -offset indent -compact
|
.Bl -tag -width 20n -offset indent -compact
|
||||||
.It Sy KINFO_PROC_ALL
|
.It Sy KERN_PROC_ALL
|
||||||
all processes
|
all processes
|
||||||
.It Sy KINFO_PROC_PID
|
.It Sy KERN_PROC_PID
|
||||||
processes with process id
|
processes with process id
|
||||||
.Fa arg
|
.Fa arg
|
||||||
.It Sy KINFO_PROC_PGRP
|
.It Sy KERN_PROC_PGRP
|
||||||
processes with process group
|
processes with process group
|
||||||
.Fa arg
|
.Fa arg
|
||||||
.It Sy KINFO_PROC_SESSION
|
.It Sy KERN_PROC_SESSION
|
||||||
processes with session
|
processes with session
|
||||||
.Fa arg
|
.Fa arg
|
||||||
.It Sy KINFO_PROC_TTY
|
.It Sy KERN_PROC_TTY
|
||||||
processes with tty
|
processes with tty
|
||||||
.Fa arg
|
.Fa arg
|
||||||
.It Sy KINFO_PROC_UID
|
.It Sy KERN_PROC_UID
|
||||||
processes with effective user id
|
processes with effective user id
|
||||||
.Fa arg
|
.Fa arg
|
||||||
.It Sy KINFO_PROC_RUID
|
.It Sy KERN_PROC_RUID
|
||||||
processes with real user id
|
processes with real user id
|
||||||
.Fa arg
|
.Fa arg
|
||||||
.El
|
.El
|
||||||
|
Loading…
x
Reference in New Issue
Block a user