ppid subcommand
The ppid subcommand displays the process entry belonging to a process.
Format
Parameters
Item | Description |
---|---|
-h | Specifies that the pid parameter is in hexadecimal. |
-d | Specifies that the pid parameter is in decimal. |
pid | Specifies the process ID for which you want to display the process entry. This value must be a decimal or a hexadecimal value as specified by the -h or -d options, or as required by the hexadecimal_wanted toggle specified with the set subcommand. If no process ID is specified, the process table entry for the current process is displayed. |
Other
pr_pid
Examples
The following is an example of how to use the ppid subcommand:
KDB(0)> ppid 03C88
SLOT NAME STATE PID PPID PGRP UID ADSPACE CL #THS
pvproc+007800 60 ksh ACTIVE 03C88 00001 03C88 00000 000E01BC 0 0001
NAME....... ksh
STATE...... stat :07 .... xstat :0000
FLAGS...... flag :00200001 LOAD EXECED
........... flag2 :00000000
........... atomic :00040000 ORPHANPGRP
LINKS...... child :00000000
........... siblings :E2005400 <pvproc+005400>
........... uidinfo :0055C240
........... ganchor :E2007800 <pvproc+007800>
THREAD..... threadlist :EA003100 <pvthread+003100>
DISPATCH... synch :FFFFFFFF
AACCT...... projid :00000000 ........... sprojid :00000000
........... subproj :0000000000000000
........... file id :0000000000000000 0000000000000000 00000000
........... flags :0000
WLM........ class/wlm :00/0000
........... time of SIGTERM:00000000
........... wlm_nvpages :0000000000000000 0
...
KDB(0)> ppid -d 6996
SLOT NAME STATE PID PPID PGRP UID ADSPACE CL #THS
pvproc+003600 27 errdemon ACTIVE 01B54 00001 01B54 00000 00008161 0 0001
NAME....... errdemon
STATE...... stat :07 .... xstat :0000
FLAGS...... flag :00000401 LOAD SIGNOCHLD
........... flag2 :02600000 INHERITED
........... atomic :00040000 ORPHANPGRP
...