STREAMS/UX for the HP 9000 Reference Manual
194
Debugging STREAMS/UX Modules and Drivers
Using adb
Field Name Address Description
p_flag
p+0x20/X [Series 700]
p+0xc/X [Series 800]
per-process flags, see proc.h
p_flag2
p+0x24/X [Series 700]
p+0x48/X [Series 800]
per-process flags, see proc.h
p_mpflag
p+0x10/X [Series 800 only]
per-process flags, see proc.h
p_stat
p+0xc/b [Series 700]
p+0x32/b [Series 800]
current process state, see proc.h
p_uid
p+0x2c/D [Series 700]
p+0x0x50/D [Series 800]
real user id, used to direct tty signals
p_suid
p+0x30/D [Series 700]
p+0x54/D [Series 800]
set effective uid
p_pid
p+0x38/D [Series 700]
p+0x5c/D [Series 800]
process id
p_ppid
p+0x3c/D [Series 700]
p+0x60/D [Series 800]
process id of parent
p_pgrp
p+0x34/D [Series 700]
p+0x58/D [Series 800]
process id of process group leader
p_wchan
p+0x40/X [Series 700]
p+0x1c/X [Series 800]
event process is sleeping on
should be zero if currently running
p_sleeptime
p+0x24/X [Series 800 only] time of last sleep or wakeup (in seconds)
p_cptickstotal
p+0x4c/X [Series 700]
p+0x14/X [Series 800]
cpu ticks (total for life of process)
p_cursig
p+0xe/b [Series 700]
p+0x34/b [Series 800]
number of current pending signal, if any
p_sig
p+0x10/X [Series 700]
p+0x38/X [Series 800]
signals pending to this process
p_sigmask
p+0x14/X [Series 700]
p+0x3c/X [Series 800]
current signal mask