Technical data
System Dump Analyzer
SET PROCESS
The SET PROCESS command changes the current SDA process context to that
of the process indicated by name or /INDEX=nn. The process specified by this
command becomes the current process for SDA until you exit SDA or change SDA
process context by issuing one of the following commands:
SET PROCESS/INDEX=nn
SET PROCESS process-name
SHOW PROCESS/INDEX=nn
In the analysis of a crash dump from a multiprocessing system, changing process
context can involve a switch of CPU context as well. For instance, if you issue a
SET PROCESS command for a process that is current on another CPU, SDA will
automatically change its CPU context to that of the CPU on which that process is
current. The following commands can have this effect if process-name or index
number (nn) refers to a current process:
SET PROCESS process-name
SET PROCESS/INDEX=nn
SHOW PROCESS process-name
SHOW PROCESS/INDEX=nn
See Section 4 for further discussion on the way in which SDA maintains its
context information.
Example
SDA> SHOW PROCESS
Process index: 0012 Name: NETACP Extended PID: 28C00092
-----------------------------------------------------------
Process status: 00149001 RES,WAKEPEN,NOACNT,PHDRES,LOGIN
PCB address 800F1140 JIB address 801FDA00
PHD address 80477200 Swapfile disk address 01000F01
.
.
.
SDA> SHOW SUMMARY
Current process summary
-----------------------
Extended Indx Process name Username State Pri PCB PHD Wkset
-- PID -- ---- --------------- ----------- ----- --- -------- -------- -----
28C00080 0000 SWINGER COM 0 80002100 80001F88 0
28C00081 0001 SWAPPER HIB 16 800023C8 80002250 0
28C00483 0003 KLINGON KLINGON MWAIT 6 8010FEA0 803F8600 323
28C00085 0005 ERRFMT SYSTEM COM 10 800B5A10 8061DA00 69
28C00087 0007 OPCOM SYSTEM LEF 7 800C7000 80227A00 71
.
.
.
SDA>SET PROCESS ERRFMT
SDA> SHOW PROCESS
Process index: 0005 Name: ERRFMT Extended PID: 28C00085
--------------
Process status: 00040001 RES,PHDRES
PCB address 800B5A10 JIB address 801E5C00
.
.
.
The first SHOW PROCESS command shows the current process to be NETACP.
The SHOW SUMMARY command shows the names of the processes that exist.
SDA–77