Use the -P option to display information for all partitions.
Use the -p option, followed by the name of the partition, to display information about an individual partition. To display information about multiple partitions, list the names, either separating them with commas and no spaces or enclosing the list in quotation marks.
Partition attributes whose settings you can view via mpinfo are shown in Table 4-2; the heading displayed for each attribute is shown in parentheses after its description.
The following summarizes various points discussed earlier.
You can specify one or more of these attributes via the -A option, or as part of an RRS as an argument to the -R option. You can use either the attribute's real name or, in some cases, a shorter version.
For attributes that are defined as negatives (for example, no_logins), you can specify a positive version (for example, logins) for -A.
You can list the settings of all attributes (including any system administrator-defined attributes) on a per-partition basis via the -v option.
You can list the names and brief descriptions of these attributes via the -lp option.
Attribute (mpadmin form) |
Description (mpinfo output heading) |
---|---|
enabled |
Set if the partition is enabled, that is, if it is ready to accept jobs (ENA). |
maxt |
Maximum number of simultaneously running processes allowed on each node of the partition (MAXT). |
name |
Name of the partition (NAME). |
login |
Allow logins. When login is set, LOG is set. Note that this is the inverse of the mpadmin meaning. (LOG). |
mp |
Allow multinode jobs. When no_mp_jobs is unset, MP is set. Note that this is the inverse of the mpadmin meaning. (MP). |
nodes |
Number of nodes in the partition (NODES). |
The following example illustrates the default mpinfo output for partitions:
% mpinfo -P NAME NODES: Tot(cpu) Enb(cpu) Onl(cpu) ENA LOG MP part10 1( 4) 1( 4) 1( 4) no yes yes part11 1( 4) 1( 4) 1( 4) yes yes yes
The following example displays the names, numbers of nodes, and enabled status for all partitions:
% mpinfo -A name,enabled,nodes -P NAME ENA NODES: Tot(cpu) Enb(cpu) Onl(cpu) part10 no 1( 4) 1( 4) 1( 4) part11 yes 1( 4) 1( 4) 1( 4)