C H A P T E R 9 |
Displaying Information With mpinfo |
% mpinfo -T |
The name, associated port value, and the jid of the publishing job are displayed. For example:
The fields in the output are described in TABLE 9-1.
Include the -A option to restrict the output to a particular attribute or set of attributes. (See How to Restrict Output to Individual Attributes (-A).)
% mpinfo -c [cluster] -C | -P | - N |
If you do not enter a cluster, the command uses the cluster named by the SUNHPC_CLUSTER environment variable. If that environment variable has not been set, be sure to manually enter a cluster, or the command fails.
Use one of the three options -C, -P, or -N to indicate the type of information you want to display (cluster-level, partition, or node). Use only one option at a time. For example:
The fields in the output are described in TABLE 9-1.
Include the -A option to restrict the output to a particular attribute or set of attributes. (See How to Restrict Output to Individual Attributes (-A).)
Use the -C option (upper case):
% mpinfo -C |
This option is a shortcut for a common use of the -c option:
% mpinfo -C NAME ADMINISTRATOR DEF_INTER_PART hpc-cluster-0 - all % mpinfo -c hpc-cluster-0 -C NAME ADMINISTRATOR DEF_INTER_PART hpc-cluster-0 - all |
The fields in the output are described in TABLE 9-1.
Include the -A option to restrict the output to a particular attribute or set of attributes. (See How to Restrict Output to Individual Attributes (-A).)
% mpinfo -p partition-name[,partition-name ...] |
Separate multiple partition names with a comma. You can also enclose the set of partition names in quotation marks.
% mpinfo -p part1,part2 NAME NODES: Tot(cpu) Enb(cpu) Onl(cpu) ENA LOG MP part1 1( 4) 1( 4) 1( 4) no yes yes part2 1( 4) 1( 4) 1( 4) yes yes yes |
The fields of the output are described in TABLE 9-1.
Include the -A option to restrict the output to a particular attribute or set of attributes. (See How to Restrict Output to Individual Attributes (-A).)
Use the -P option (upper case):
% mpinfo -P |
% 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 fields of the output are described in TABLE 9-1.
Include the -A option to restrict the output to a particular attribute or set of attributes. (See How to Restrict Output to Individual Attributes (-A).)
% mpinfo -n node-name[,node-name...] |
When listing multiple node names, separate the names with commas but no spaces. For example:
% mpinfo -n node0,node1 NAME UP PARTITION OS OSREL NCPU FMEM FSWP LOAD1 LOAD5 LOAD1 node0 y p0 Solaris 8 1 0.89 158.34 0.09 0.11 0.13 node1 y p0 Solaris 8 1 31.41 276.12 0.00 0.01 0.01 |
The fields in the output are described in TABLE 9-1.
Include the -A option to restrict the output to a particular attribute or set of attributes. (See How to Restrict Output to Individual Attributes (-A).)
Use the -N option (upper case).
% mpinfo -N |
The fields in the output are described in TABLE 9-1.
Include the -A option to restrict the output to a particular attribute or set of attributes. (See How to Restrict Output to Individual Attributes (-A).)
How to Display an Online List of Valid
|
Use the -lc, -lp, or -ln options for clusters, partitions, or nodes:
% mpinfo -lc % mpinfo -lp % mpinfo -ln |
Add the -A option to other mpinfo options to restrict the output to specific attributes of a node, partition, or cluster:
Separate multiple partition attributes with commas but no spaces. For a list of valid attributes, see TABLE 9-1.
This example begins by showing the full set of node attributes displayed when you identify the object (in this case with the -N option), but leave out the -A option. Then it shows how adding the -A option restricts the list to a subset of the information:
Add the -v option to any other option to display its information in verbose mode: Verbose mode displays a little more information than standard mode, and makes it easier to read. This example shows how the information is displayed first without, and then with the verbose mode:
% mpinfo -p partition -v % mpinfo -P -v % mpinfo -n node -v % mpinfo -N -v % mpinfo -c cluster [-C | -P | -N] -v % mpinfo -C partition -v |
Copyright © 2003, Sun Microsystems, Inc. All rights reserved.