PROCP(VI) − PWB/UNIX 8/27/77
NAME
procp − print information about a process
SYNOPSIS
procp [ pid ]
DESCRIPTION
Procp is a program which prints out the system information about a process. The argument process id is used, or if none is given, procp prints out information about itself. Thus a procp of a pascal translation with pi running in the background might give the following output:
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
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 "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.
SEE ALSO
AUTHOR
Jeff Schriebman
BUGS
Status should be given by the code used by ps.