Scroll to navigation

SPU-PS(1) User Commands SPU-PS(1)

NAME

spu-ps - a ps-like tool, which dumps a report on the currently running SPU contexts.

SYNOPSIS

spu-ps [ OPTIONS]

DESCRIPTION

Dump information about the running spu contexts.

OPTIONS

-f, --fields=FIELD,FIELD,...
list of fields to be dumped
-s, --sort=FIELD
sort the output according to the given field
-h, --help
display this help and exit
-v, --version
output version information and exit

Valid field names are:

PPU_PID
- PPU Side Process ID
THREAD_ID
- SPE Controlling Thread ID
USER_NAME
- User
STATUS
- Context Status
FLAGS
- Context Flags
SPE
- Allocated SPE
TOTAL_TIME
- Resident Time (loaded or running) in seconds
USER_TIME
- User Time in seconds
SYSTEM_TIME
- System Time in seconds
LOADED_TIME
- Loaded Time (loaded or running) in seconds
VOLUNTARY_CTX_SWITCHES
- Number of Voluntary Context Switches
INVOLUNTARY_CTX_SWITCHES
- Number of Involuntary Context Switches
SLB_MISSES
- Number of SLB Misses
HASH_FAULTS
- Number of Hash Faults
MINOR_PAGE_FAULTS
- Number of Minor Page Faults
MAJOR_PAGE_FAULTS
- Number of Major Page Faults
CLASS2_INTERRUPTS
- Number of Class2 Interrupts Received
PPE_LIBRARY
- Number of PPE Assisted Library Calls Performed
BINARY_NAME
- Binary Name

Default shown fields are:

PPU_PID,THREAD_ID,USER_NAME,STATUS,FLAGS,SPE,TOTAL_TIME,USER_TIME,SYSTEM_TIME,LOADED_TIME,VOLUNTARY_CTX_SWITCHES,INVOLUNTARY_CTX_SWITCHES,SLB_MISSES,HASH_FAULTS,MINOR_PAGE_FAULTS,MAJOR_PAGE_FAULTS,CLASS2_INTERRUPTS,PPE_LIBRARY,BINARY_NAME

EXAMPLES

spu-ps
spu-ps -f PPU_PID,USER_NAME -s USER_NAME

COPYRIGHT

Copyright © IBM 2007. Released under the GNU GPL.
March 2010 spu-ps (spu-tools 1.0)