summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-06-24 18:53:09 +0000
committerjoerg <joerg@FreeBSD.org>1995-06-24 18:53:09 +0000
commit7343a5be691db66c41a3537b97c330b9ef8f436c (patch)
tree402cafc84c9c931658051be5c764e7ec454d0327
parent3bc1cf60fd5d28f6b3e67eb18d378de7ae6f64fa (diff)
downloadFreeBSD-src-7343a5be691db66c41a3537b97c330b9ef8f436c.zip
FreeBSD-src-7343a5be691db66c41a3537b97c330b9ef8f436c.tar.gz
Update the man page for kvm_getprocs.3 to reflect our sysctl-based
kvm mechanism. Submitted by: (Vic Abell) <abe@cc.purdue.edu>
-rw-r--r--lib/libkvm/kvm_getprocs.318
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libkvm/kvm_getprocs.3 b/lib/libkvm/kvm_getprocs.3
index a5eacb9..e4c719b 100644
--- a/lib/libkvm/kvm_getprocs.3
+++ b/lib/libkvm/kvm_getprocs.3
@@ -34,6 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)kvm_getprocs.3 8.1 (Berkeley) 6/4/93
+.\" $Id$
.\"
.Dd June 4, 1993
.Dt KVM_GETPROCS 3
@@ -45,8 +46,7 @@
.Nd access user process state
.Sh SYNOPSIS
.Fd #include <kvm.h>
-.Fd #include <sys/kinfo.h>
-.Fd #include <sys/kinfo_proc.h>
+.Fd #include <sys/sysctl.h>
.\" .Fa kvm_t *kd
.br
.Ft struct kinfo_proc *
@@ -69,24 +69,24 @@ returned. The value of
describes the filtering predicate as follows:
.Pp
.Bl -tag -width 20n -offset indent -compact
-.It Sy KINFO_PROC_ALL
+.It Sy KERN_PROC_ALL
all processes
-.It Sy KINFO_PROC_PID
+.It Sy KERN_PROC_PID
processes with process id
.Fa arg
-.It Sy KINFO_PROC_PGRP
+.It Sy KERN_PROC_PGRP
processes with process group
.Fa arg
-.It Sy KINFO_PROC_SESSION
+.It Sy KERN_PROC_SESSION
processes with session
.Fa arg
-.It Sy KINFO_PROC_TTY
+.It Sy KERN_PROC_TTY
processes with tty
.Fa arg
-.It Sy KINFO_PROC_UID
+.It Sy KERN_PROC_UID
processes with effective user id
.Fa arg
-.It Sy KINFO_PROC_RUID
+.It Sy KERN_PROC_RUID
processes with real user id
.Fa arg
.El
OpenPOWER on IntegriCloud