Purpose
Returns the Gang matrix information in the LoadLeveler cluster when Gang scheduling is used.
Syntax
llmatrix [-? | -H | -v | [-r] [-s] <hostlist> ]
Flags
Description
If you do not specify a hostlist, the system displays the complete Gang matrix.
Gang matrix output information is formatted into columns. Each column is identified by the machine name and processor number. Each row in the matrix is called a time-slice and contains job step names. Job steps in an active time-slice run for the time period specified by GANG_MATRIX_TIME_SLICE. When that time-slice expires, the job steps in the next time-slice are run. At the end of the last time-slice, the cycle is restarted at the first time-slice.
In the matrix output:
| Note: | The processor number does not correspond to a particular physical processor. |
Examples
This example displays the complete Gang matrix:
llmatrix
This example displays the portion of the Gang matrix for machine c163n03 in raw mode:
llmatrix -r c163n03
Results
llmatrix returns the following exit values:
The following listing is sample output for the llmatrix -s command:
+--------------------------------------------------------------------------------+ |GANG_MATRIX_TIME_SLICE = 60 seconds | | | |Column: Machine Name / Processor Number | | Job Step Names | | | | | |Column: c209f1n05 / Processor0 | | c209f1n05.11.0 | | c209f1n05.14.0* | | c209f1n05.13.0 | | | |Column: c209f1n05 / Processor1 | | c209f1n05.11.0 | | c209f1n05.14.0* | | c209f1n05.13.0 | | | |Column: c209f1n05 / Processor2 | | c209f1n05.12.0 | | c209f1n05.14.0* | | NULL | | | | | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ |Column: c209f1n05 / Processor3 | | c209f1n05.12.0 | | c209f1n05.14.0* | | NULL | | | |Column: c209f1n01 / Processor0 | | c209f1n05.11.0 | | c209f1n05.14.0* | | c209f1n05.13.0 | | | |Column: c209f1n01 / Processor1 | | c209f1n05.11.0 | | c209f1n05.14.0* | | c209f1n05.13.0 | | | |Column: c209f1n01 / Processor2 | | c209f1n05.12.0 | | c209f1n05.14.0* | | NULL | | | |Column: c209f1n01 / Processor3 | | c209f1n05.12.0 | | c209f1n05.14.0* | | NULL | +--------------------------------------------------------------------------------+ |
The following listing is sample output for the llmatrix -s -r c209f1n05 c209f1n01 command:
Figure 20. llmatrix -s -r output
+--------------------------------------------------------------------------------+ |c209f1n05!Processor0!c209f1n05.11.0,c209f1n05.14.0*,c209f1n05.13.0 | |c209f1n05!Processor1!c209f1n05.11.0,c209f1n05.14.0*,c209f1n05.13.0 | |c209f1n05!Processor2!c209f1n05.12.0,c209f1n05.14.0*,NULL | |c209f1n05!Processor3!c209f1n05.12.0,c209f1n05.14.0*,NULL | |c209f1n01!Processor0!c209f1n05.11.0,c209f1n05.14.0*,c209f1n05.13.0 | |c209f1n01!Processor1!c209f1n05.11.0,c209f1n05.14.0*,c209f1n05.13.0 | |c209f1n01!Processor2!c209f1n05.12.0,c209f1n05.14.0*,NULL | |c209f1n01!Processor3!c209f1n05.12.0,c209f1n05.14.0*,NULL | +--------------------------------------------------------------------------------+ |