|
|
NAME
proc - Display the proc stucture of a process
SYNOPSIS
proc address
proc+ address
DESCRIPTION
The proc macro is given the address of a process
as an argument. From this macro, you can obtain
the addresses to pass as arguments to the as, mutex
and dscr macros. Also, you can see the process id,
the process priority, among other properties of the
proc structure.
The macro proc+ prints the same information as proc, but set up the nx command to automatically point to the next process.
The proc structure is defined in /usr/include/sys/proc.h
Typical output looks like this:
S> proc *curproc [D10CAE00] ONPROC flag 102010: LOAD ULOAD EXECED pid 05572. pri 3E sig 00000000 ign 659E0000 kbd - ubd - uid 00000. ppid 05571. csig 00 mask 00000000 cid 00000002 run 0 usiz 0002 pgrp 05571. cflt 00 hold 00000000 as D12AE7A0 mutx D10CAF8C segu F0DDA000 u.u_psargs = "kcrash -k /dev/mem /unix "