HP-UX Reference (11i v2 03/08) - 1 User Commands N-Z (vol 2)
p
parstatus(1) parstatus(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, enclo-
sure 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
corresponding 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 - - -
cab0,bay0,chassis1 Active yes cab0,cell0 0
cab0,bay0,chassis2 Absent - - -
cab0,bay0,chassis3 Active yes cab0,cell4 2
cab0,bay1,chassis0 Absent - - -
cab0,bay1,chassis1 Active yes cab0,cell6 1
cab0,bay1,chassis2 Absent - - -
cab0,bay1,chassis3 Inactive yes cab0,cell2 1
Example 2
The following example displays information for all major components that are physically present in the
local complex. No action is specified for the command; the default behaviour is to display all.
parstatus
[Complex]
Complex Name : SuperDomeComplex
Complex Capacity
Compute Cabinet (8 cell capable) : 1
Active MP Location : cabinet 0
Model : 9000/800/SD32000
Original Serial Number : USR4001WXY
Current Product Order Number : 12345B
Section 1−−662 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: August 2003