NAME
activeprocs - Display the stack backtrace for the
active (ONP) process on each CPU.
SYNOPSIS
activeprocs
activeproc# i
DESCRIPTION
The activeprocs macro takes no arguments. It displays
a short stack backtrace for the active process on all CPUS.
The activeproc# macro displays the active process for
only the cpu number given as an argument.
Using the FRAMEPTR address from this macro, you can run
several other macros like BT.
Typical output for a single cpu system looks like this:
S> activeprocs
cpuid 0
Trace for stack D11BD200
ADDRESS PID PPID UID FLAGS K U R WCHAN ST COMMAND
D11BD200 00002 00000 00000 00002031 0 - 0 ONP idleproc00
STKADDR FRAMEPTR FUNCTION
E0004D74 E0004D94 idle_loop+3D
E0004D9C E0004DE0 pswtch+169
E0004DE8 E0004E28 swtch+B
E0004E30 E0004E70 main+A51(0)
E0004E78 00000000>
DEFINED IN
trace.k
SEE ALSO
trace, BT, Bt, dumpinfo
APPENDIX A: Alphabetic Index of Macros