DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

pid - Print the proc structure of a process, given the pid

SYNOPSIS

pid integer

DESCRIPTION

The pid macro is given a process id as an argument. It diplays the proc structure. This is the same information printed by the proc macro, but is derived from the process id.

The proc structure is defined in /usr/include/sys/proc.h.

Typical output looks like this:


S> pid 5
[D11D8C00]   SLEEP(D0302690)  flag 2039: SYS NWAKE LOAD LOCK ULOAD
 pid 00005.   pri 4A   sig 00000000  ign 00000000  kbd -  ubd -    uid 00000.
ppid 00000.  csig 00  mask 00000000  cid 00000000  run -          usiz 0002
pgrp 00000.  cflt 00  hold 00000000   as 00000000  mutx D11D8D8C  segu F095A000
u.u_psargs = "kmdaemon"

DEFINED IN

proc.k

SEE ALSO

proc, ps, practive

APPENDIX A: Alphabetic Index of Macros