Dell服务器常用管理命令总结

Dell服务器常用管理命令总结

具体信息指令
查看机器型号#dmidecode|grep"Product"
查看厂商#dmidecode|grep"Manufacturer"
查看序列号#dmidecode|grep"SerialNumber"
查看CPU信息#dmidecode|grep"CPU"
查看CPU个数#dmidecode|grep"SocketDesignation:CPU"|wc�Cl
查看出厂日期#dmidecode|grep"Date"
查看充电状态#MegaCli-AdpBbuCmd-GetBbuStatus-aALL|grep"ChargerStatus"
显示BBU状态信息#MegaCli-AdpBbuCmd-GetBbuStatus�CaALL
显示BBU容量信息#MegaCli-AdpBbuCmd-GetBbuCapacityInfo�CaALL
显示BBU设计参数#MegaCli-AdpBbuCmd-GetBbuDesignInfo�CaALL
显示当前BBU属性#MegaCli-AdpBbuCmd-GetBbuProperties�CaALL
查看充电进度百分比#MegaCli-AdpBbuCmd-GetBbuStatus-aALL|grep"RelativeStateofCharge"
查询Raid阵列数#MegaCli-cfgdsply-aALL|grep"NumberofDISKGROUPS:"
显示Raid卡型号,Raid设置,Disk相关信息#MegaCli-cfgdsply�CaALL
显示所有物理信息#MegaCli-PDList-aALL
显示所有逻辑磁盘组信息#MegaCli-LDInfo-LALL�CaAll
查看物理磁盘重建进度(重要)#MegaCli-PDRbld-ShowProg-PhysDrv[1:5]-a0
查看适配器个数#MegaCli�CadpCount
查看适配器时间#MegaCli-AdpGetTime�CaALL
显示所有适配器信息#MegaCli-AdpAllInfo�CaAll
查看Cache策略设置#MegaCli-cfgdsply-aALL|grepPolicy



补充说明:
在发生硬盘损坏,工程师更换硬盘,可以用查看物理磁盘重建进度命令查看磁带状态的变化。
Device|Normal|Damage|Rebuild|Normal
VirtualDrive|Optimal|Degraded|Degraded|Optimal
PhysicalDrive|Online|Failed�C>Unconfigured|Rebuild|Online

你可能感兴趣的:(dell,dmidecode,megacli)