HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
p
parstatus(1) parstatus(1)
* Primary, alternate and secondary boot path settings
* PDC, IODC version numbers
* Memory interleaving / local memory settings
* Cells summary info
* I/O chassis summary info
For Cell:
* Details of each cpu on the cell
* Details of memory on the cell
* Memory interleaving / local memory settings
-M Produce a machine readable/parseable output, or restrict the output of the
-w option to a
partition number. The machine readable output will have the columns separated by a sin-
gle colon character (
:) and will not have a column header.
-C Show information for all cells in the complex.
-I Show information for all I/O chassis in the complex.
-B Show information for all cabinets in the complex.
-P Show information for all partitions in the complex.
-c cell Show information about the specified cell. The cell id can be specified either in the local
(cabinet#/slot#) or global (cell_ID) format. For example, the cell located in cabinet 0, slot 1
is locally identified as 0/1 or globally as 1.
-i I/Ochassis Show information about the specified I/Ochassis. The I/Ochassis id can be specified in the
form of cabinet#/enclosure#/chassis#. For example, the I/O chassis located in cabinet 0,
enclosure 1 and I/O chassis slot 3 is identified as 0/1/3.
-b cabinet Show information about the specified cabinet.
-p PartitionNumber
Show information about the specified partition. PartitionNumber is the unique partition
number (integer) which was assigned to the partition when it was created.
Mapping of Global Cell Numbers to Local Cell Numbers
The cabinets in a complex are numbered starting from 0. The cell slots in each cabinet are also numbered
starting from 0. Each cabinet can have a maximum of 8 cells. For example, the cells located in cabinet 0
will have the following cell numbers in global format: 0, 1, 2, 3, 4, 5, 6, 7. The cell numbers in correspond-
ing local format will be 0/0, 0/1, 0/2, 0/3, 0/4, 0/5, 0/6, 0/7.
Similarly the cells located in cabinet 1 will have the following cell numbers in global format: 8, 9, 10, 11, 12,
13, 14, 15. The cell numbers in corresponding local format will be 1/0, 1/1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7.
From the above convention the cell located in cabinet 1, slot 0 is identified in the local format as 1/0 or in
the global format as 8. The parstatus(1) command will display the above cell as "cab1,cell0". The cell
located in cabinet 1, slot 4 is identified in the local format as 1/4 or in the global format as 12. The par-
status(1) command will display the above cell as "cab1,cell4".
RETURN VALUE
The
parstatus command exits with one of the following values:
0 Successful completion.
1 Error condition occurred.
EXAMPLES
Example 1
Display information for all the I/O chassis in the complex:
parstatus -I
The output format is as shown below.
[Chassis]
Core Connected Par
Hardware Location Usage IO To Num
=================== ============ ==== ========== ===
cab0,bay0,chassis0 Absent - - -
HP-UX 11i Version 1: September 2005 − 3 − Hewlett-Packard Company Section 1−−681