Interprets the contents of the various system tables and writes it to standard output.
pstat [ -a ] [ -A ] [ -f ] [ -i ] [ -p ] [ -P ] [ -s ] [ -S ] [ -t ] [ -uProcSlot ] [ -T ] [ -U ThreadSlot] [ [ KernelFile ] CoreFile ]
The pstat command is a non-interactive form of the crash command. pstat interprets the contents of the various system tables and writes it to standard output. You must have root user or system group authority to run the pstat command.
|-a||Displays entries in the process table.|
|-A||Displays all entries in the kernel thread table.|
|-f||Displays the file table.|
|-i||Displays the i-node table and the i-node data block addresses.|
|-p||Displays the process table.|
|-P||Displays runnable kernel thread table entries only.|
|-s||Displays information about the swap or paging space usage.|
|-S||Displays the status of the processors.|
|-t||Displays the tty structures.|
|-u ProcSlot||Displays the user structure of the process in the designated slot of the process table. An error message is generated if you attempt to display a swapped out process.|
|-T||Displays the system variables. These variables are briefly described in var.h.|
|-U ThreadSlot||Displays the user structure of the kernel thread in the designated slot of the kernel thread table. An error message is generated if you attempt to display a swapped out kernel thread.|
pstat -i dumpfileSymbols are retrieved from the /usr/lib/boot/unix file.
pstat -f -u 0
pstat -t /usr/lib/boot/unix.back dumpfile
pstat -A -U 2
|/usr/sbin/pstat||Contains the pstat command.|
|/dev/mem||Default system-image file.|
|/usr/lib/boot/unix||Default kernel-image file.|
|/usr/include/sys/*.h||Contains header files for table and structure information.|
The crash command, ps command, stty command.