1、cstm 的使用:查看主机的内存可以使用 cstm 这个工具(这个工具只有 root 权限才可以使用)1. 启动 cstm#cstm2输入 map,列出主机的所有信息cstmmap显示如下:Num Path Product Active Tool Status = = = = =1 system system () Information Successful 2 0 Bus Adapter (880) 3 0/0 PCI Bus Adapter (783) 4 0/0/1/0 USB Interface (10330035) 5 0/0/1/0.1 USB Root Hub (0) 6 0/
2、0/1/1 USB Interface (10330035) 7 0/0/1/1.1 USB Root Hub (0) 8 0/0/1/2 USB Interface (103300e0) 9 0/0/2/0 IDE Bus Adapter (10950649 10 0/0/2/0.0 IDE Interface (109) 11 0/0/2/0.0.0.0 Optical Storage Device (T 12 0/0/2/0.1 IDE Interface (109) 13 0/1 PCI Bus Adapter (783) 14 0/1/1/0 PCI SCSI Interface (
3、10000 15 0/1/1/0.0.0 SCSI Disk (HP146) 16 0/1/1/1 PCI SCSI Interface (10000 17 0/1/1/1.2.0 SCSI Disk (HP146) 18 0/1/2/0 PCI Gigabit Ethernet Link 19 0/2 PCI Bus Adapter (783) 20 0/2/1/0 PCI 100 BaseT LAN Interfa 21 0/3 PCI Bus Adapter (783) 22 0/3/1/0 Fibre Channel Interface ( 23 0/3/1/0.1 Fibre Cha
4、nnel Driver (Mas 24 0/3/1/0.1.14.255.0.0 HP EVA GL (COMPAQHSV110) 25 0/3/1/0.1.15.255.0.0 HP EVA GL (COMPAQHSV110) 26 0/4 PCI Bus Adapter (783) 27 0/4/1/0 Fibre Channel Interface ( 28 0/4/1/0.1 Fibre Channel Driver (Mas 29 0/4/1/0.1.14.255.0.0 HP EVA GL (COMPAQHSV110) 30 0/4/1/0.1.15.255.0.0 HP EVA
5、GL (COMPAQHSV110) 31 0/6 PCI Bus Adapter (783) 32 0/6/1/0 PCI 100 BaseT LAN Interfa 33 0/7 PCI Bus Adapter (783) 34 0/7/1/0 RS-232 Interface (103c129 35 0/7/1/1 RS-232 Interface (103c104 36 8 MEMORY (af) Information Successful 37 16 IPMI Controller (4) Information Successful 38 128 CPU (889) Informa
6、tion Killed 39 129 CPU (889) Information Successful3. 查看所要查看的设备(设备号),从系统内核里面收集所要的信息:cstmsel dev 36 cstminfo 从系统 kernel 里面收集设备的信息- Updating Map -Updating Map.cstmil 列出设备的信息(下面输出的是内存的信息)- Converting a (1404) byte raw log file to text. -Preparing the Information Tool Log for MEMORY on path 8 File . : 1
7、0.203.68.2 . - Information Tool Log for MEMORY on path 8 -Log creation time: Sat Feb 3 10:01:07 2007Hardware path: 8Basic Memory DescriptionModule Type: MEMORYTotal Configured Memory : 4096 MBPage Size: 4096 BytesMemory interleaving is supported on this machine and is ON.Memory Board Inventory DIMM
8、Slot Size (MB)- -0A 10240B 10241A 10241B 1024- -System Total (MB): 4096 Memory Error Log Summary (这个是系统内存的运行信息,如果有 error 信息的话内存就有可能存在问题)The memory error log is empty.Page Deallocation Table (PDT)PDT Entries Used: 0 PDT Entries Free: 3000 PDT Total Size: 3000 - Information Tool Log for MEMORY on path 8 -View - To View the file.Print - To Print the file.SaveAs - To Save the file.Enter Done, Help, Print, SaveAs, or View: Done cstmexit 退出 cstm