HP-UX内置了功能强大的系统信息查看程序cprop,默认存储路径为opt/propplus/bin/,该程序可根据参数输出服务器各种软硬件系统信息。以下是我对获取系统信息相关参数的总结。
查看已安装的系统软件包:
opt/propplus/bin/cprop -summary -c " Software Bundles"
查看已安装的软件产品:
opt/propplus/bin/cprop -summary -c " Software Products"
查看系统信息摘要:
opt/propplus/bin/cprop -summary -c " System Summary"
查看散热风扇状态:
opt/propplus/bin/cprop -summary -c " Cooling"
查看处理器信息:
opt/propplus/bin/cprop -summary -c " Processors"
查看各部件的备件号和序列号信息:
opt/propplus/bin/cprop -summary -c " FRU Information"
查看固件版本:
opt/propplus/bin/cprop -summary -c " Firmware Information"
查看内存信息:
opt/propplus/bin/cprop -summary -c " Memory"
查看管理模块(MP)的信息:
opt/propplus/bin/cprop -summary -c " Management Processor"
查看电源信息:
opt/propplus/bin/cprop -summary -c " Power"
查看系统温度情况:
opt/propplus/bin/cprop -summary -c " Temperature"
查看系统电压状态:
opt/propplus/bin/cprop -summary -c " Voltage"
查看内存使用情况:
opt/propplus/bin/cprop -summary -c " Memory Utilization"
查看系统进程:
opt/propplus/bin/cprop -summary -c " Process Information"
查看启动设备配置:
opt/propplus/bin/cprop -summary -c " Boot Device Configuration"
查看系统错误日志配置:
opt/propplus/bin/cprop -summary -c " Crash Dump Configuration"
查看RAID HBA卡信息:
opt/propplus/bin/cprop -summary -c " RAIDSA HBA"
查看SCSI卡信息:
opt/propplus/bin/cprop -summary -c " SCSI HBA"
查看FC HBA卡信息:
opt/propplus/bin/cprop -summary -c " FC HBA"
查看各PCI卡的硬件路径:
opt/propplus/bin/cprop -summary -c " IOTree"
查看网络配置信息:
opt/propplus/bin/cprop -summary -c " Network Information"
查看硬盘信息:
opt/propplus/bin/cprop -summary -c " Disk Drive"