Branch: RELENG_2_0_5

cvs update -j 1.3 kvm_getprocs.3
----------------------------
revision 1.3
date: 1995/06/25 03:35:49;  author: bde;  state: Exp;  lines: +2 -1
41 headers must be implicitly included and one more (<sys/param.h>) must
be explicitly included before kvm_getprocs() can be used.
----------------------------
revision 1.2
date: 1995/06/24 18:53:09;  author: joerg;  state: Exp;  lines: +9 -9
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:
Rodney W. Grimes 1995-07-07 07:04:28 +00:00
parent 2c28d940ba
commit e03fe8ea24
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/releng/2.0.5/; revision=9419

View File

@ -34,6 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)kvm_getprocs.3 8.1 (Berkeley) 6/4/93
.\" $Id: kvm_getprocs.3,v 1.3 1995/06/25 03:35:49 bde Exp $
.\"
.Dd June 4, 1993
.Dt KVM_GETPROCS 3
@ -45,8 +46,8 @@
.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/param.h>
.Fd #include <sys/sysctl.h>
.\" .Fa kvm_t *kd
.br
.Ft struct kinfo_proc *
@ -69,24 +70,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