- 论坛徽章:
- 2
|
比如刚接触一个系统,如何查看该主机目前的cpu、内存的数量,以及该主机支持的cpu、内存的最大数量?
请说一下比较通用的方法,不要限定在某种机器型号或者系统版本上。
我先贡献一发,抛砖引玉:
rx8640 11.31
1、parstatus -C 看有几个cell
[Cell]
CPU Memory Use
OK/ (GB) Core On
Hardware Actual Deconf/ OK/ Cell Next Par
Location Usage Max Deconf Connected To Capable Boot Num
========== ============ ======= ========= =================== ======= ==== ===
cab0,cell0 Active Core 8/0/8 64.0/0.0 cab0,bay0,chassis0 yes yes 0
cab0,cell1 Active Base 8/0/8 64.0/0.0 cab0,bay0,chassis1 yes yes 0
cab0,cell2 Absent * - - - - - -
cab0,cell3 Absent * - - - - - -
2、parstatus -V -cX X是cell的编号,可以挨个看cell的信息
[Cell]
Hardware Location : cab0,cell0
Global Cell Number : 0
Actual Usage : Active Core
Normal Usage : Base
Connected To : cab0,bay0,chassis0
Core Cell Capable : yes
Firmware Revision : 9.48
Failure Usage : Normal
Use On Next Boot : yes
Partition Number : 0
Partition Name : Partition 0
Requested CLM value : 0.0 GB
Allocated CLM value : 0.0 GB
Cell Architecture Type : Itanium(R)-based
CPU Compatibility : CDH-640
Hyperthreading Capable : yes
GSM Capable : yes
[CPU Details]
Type : N/A
Speed : 1598 MHz
CPU Status
=== ======
0 OK
1 OK
2 OK
3 OK
4 OK
5 OK
6 OK
7 OK
CPUs
===========
OK : 8
Deconf : 0
Max : 8
[Memory Details]
DIMM Size (MB) Status
==== ========= =========
3A 4096 OK
3B 4096 OK
5A 4096 OK
5B 4096 OK
1A 8192 OK
1B 8192 OK
4A 4096 OK
4B 4096 OK
0A 8192 OK
0B 8192 OK
2A 4096 OK
2B 4096 OK
Memory
=========================
DIMM OK : 12
DIMM Deconf : 0
Max DIMMs : 16
Memory OK : 64.00 GB
Memory Deconf : 0.00 GB
|
|