1BSD/man6/procp.6

.th PROCP VI 8/27/77
.sh NAME
procp \- print information about a process
.sh SYNOPSIS
procp [ pid ]
.sh DESCRIPTION
.it Procp
is a program which prints out the system information about
a process.
The argument process id is used, or if none is given,
.it procp
prints out information about itself.
Thus a
.it procp
of a pascal translation with
.it pi
running in the background
might give the following output:
.s3
.nf
.dt
.dt
.cs R 24
	PID = 11998
	stat nice   sig  uid  gid  pgrp  ppid  wchan clock
	   3    0     0    7    0 10237 10771      0     0
	ruid rgid         direct  inode    tty   dev   cdir
	   7    0        error.i   7295    0/2   1/65  7282
	     files           inodes
	num type count count dev  inum  uid  gid
	  0  R       1    1 65/1   557    7    0
	  1  RW     13    1  8/5   291    0    0
	  2  RW     13    1  8/5   291    0    0
	  3   W      1    1 65/1  8795    7    0
	  4  R       1    1 64/1   548    7    0
	  5  R       1    1 65/1  7295    7    0
		signals
	  2     1 ignored
	  3     1 ignored
.cs R
.fi
.sp
Here the first line gives the process number, the second and third
lines information from the process table entry,
the fourth and fifth lines information from the
.it "u dot."
These are followed by information about each file which the process
has open,
and finally a listing of signals which have other than their default
actions.
.sh SEE\ ALSO
ps (I)
.sh AUTHOR
Jeff Schriebman
.sh BUGS
Status should be given by the code used by
.it ps.