服务器常规操作及说明

1、DELL服务器

omreport:查看组件状态命令,命令用法如下:

# omreport -?     #查看omreport一级子命令
about            Product and version properties.
licenses         Displays the digital licenses of the installed hardware devices.
preferences      Report system preferences.
system           System component properties.
chassis          Chassis component properties.
storage          Display storage component properties.

# omreport storage -?     #查看omreport二级子命令

1.1 机架类

 omreport chassis pwrsupplies     查看物理电源状态信息
 omreport chassis pwrmonitoring     查看电源信息(电流、功耗)
 omreport chassis bios     BIOS版本及发布日期
 omreport chassis biossetup     BIOS设置信息
 omreport chassis fans [ index=0 ]     风扇信息
 omreport chassis info     服务器序型号、列号、服务代码、IDRAC版本
 omreport chassis memory [ index=0 ]     内存信息
 omreport chassis nics [ index=0 | config=team ]     网卡信息
 omreport chassis processors     物理CPU信息
 omreport chassis temps     CPU和主板温度
 omreport chassis batteries     CMOS电池状态

1.1.1 服务器内存信息查询

omreport chassis memory(显示内存信息):

[root@localhost.localdomain ~]$ omreport chassis memory
Memory Information

Health : Ok

Attributes of Memory Array  1
Location           : System Board or Motherboard
Use                : System Memory
Installed Capacity : 16384  MB(已安装容量)
Maximum Capacity   : 65536  MB(最大容量)
Slots Available    : 4(可用的插槽)
Slots Used         : 2(已用的插槽)
Error Correction   : Single Bit ECC

Total of Memory Array(s)
Total Installed Capacity                     : 16384  MB
Total Installed Capacity Available to the OS : 15844  MB
Total Maximum Capacity                       : 65536  MB(操作系统可用的总安装容量)

Details of Memory Array 1
Index          : 0
Status         : Ok
Connector Name : A1(连接器上的内存设备)
Type           : DDR4 - Synchronous(内存类型)
Size           : 8192  MB(单条内存大小)

Index          : 1
Status         : Ok
Connector Name : A2
Type           : DDR4 - Synchronous
Size           : 8192  MB

Index          :
Status         : Unknown
Connector Name : A3
Type           : [Not Occupied]
Size           :

Index          :
Status         : Unknown
Connector Name : A4
Type           : [Not Occupied]
Size           :

dmidecode -t memory:(这个命令可以查看内存的几乎所有信息,包括频率 大小等等)

[root@localhost.localdomain ~]$ dmidecode -t memory
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x1000, DMI type 16, 23 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: Single-bit ECC
	Maximum Capacity: 64 GB
	Error Information Handle: Not Provided
	Number Of Devices: 4
#第一部分输出是概要信息,主要说板支持的最大内存是64GB,共有4个内存插槽。

Handle 0x1100, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x1000
	Error Information Handle: Not Provided
	Total Width: 72 bits
	Data Width: 64 bits
	Size: 8192 MB
	Form Factor: DIMM
	Set: 1
	Locator: A1
	Bank Locator: Not Specified
	Type: DDR4
	Type Detail: Synchronous
	Speed: 2400 MT/s
	Manufacturer: 00AD000000AD
	Serial Number: 3293740F
	Asset Tag: 00174500
	Part Number: HMA81GU7AFR8N-UH
	Rank: 1
	Configured Clock Speed: 2133 MT/s
	Minimum Voltage: 1.2 V
	Maximum Voltage: 1.2 V
	Configured Voltage: 1.2 V

Handle 0x1101, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x1000
	Error Information Handle: Not Provided
	Total Width: 72 bits
	Data Width: 64 bits
	Size: 8192 MB
	Form Factor: DIMM
	Set: 1
	Locator: A2
	Bank Locator: Not Specified
	Type: DDR4
	Type Detail: Synchronous
	Speed: 2400 MT/s
	Manufacturer: 00AD000000AD
	Serial Number: 8199C34E
	Asset Tag: 00172000
	Part Number: HMA81GU7AFR8N-UH
	Rank: 1
	Configured Clock Speed: 2133 MT/s
	Minimum Voltage: 1.2 V
	Maximum Voltage: 1.2 V
	Configured Voltage: 1.2 V

Handle 0x1102, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x1000
	Error Information Handle: Not Provided
	Total Width: Unknown
	Data Width: Unknown
	Size: No Module Installed
	Form Factor: Unknown
	Set: 2
	Locator: A3
	Bank Locator: Not Specified
	Type: Unknown
	Type Detail: None
	Speed: Unknown
	Manufacturer: Not Specified
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified
	Rank: Unknown
	Configured Clock Speed: Unknown
	Minimum Voltage: Unknown
	Maximum Voltage: Unknown
	Configured Voltage: Unknown

Handle 0x1103, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x1000
	Error Information Handle: Not Provided
	Total Width: Unknown
	Data Width: Unknown
	Size: No Module Installed
	Form Factor: Unknown
	Set: 2
	Locator: A4
	Bank Locator: Not Specified
	Type: Unknown
	Type Detail: None
	Speed: Unknown
	Manufacturer: Not Specified
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified
	Rank: Unknown
	Configured Clock Speed: Unknown
	Minimum Voltage: Unknown
	Maximum Voltage: Unknown
	Configured Voltage: Unknown
#以上就是4个插槽的信息,目前看插了两块内存,每块8G的容量大小。每块内存的Speed:**表示内存总线的工作频率可以是,一般只能向下兼容,不能向上兼容。PowerEdge R730 系统支持 DDR4 寄存式 DIMM (RDIMM) 和低负载 DIMM (LRDIMM)。

1.1.2 查看服务器整体情况

omreport chassis(主板,整体状态):

[root@localhost.localdomain ~]$ omreport chassis
Health

Main System Chassis

SEVERITY : COMPONENT
Ok       : Fans
Ok       : Intrusion
Ok       : Memory
Ok       : Processors
Ok       : Temperatures
Ok       : Voltages
Ok       : Hardware Log
Ok       : Batteries

For further help, type the command followed by -?

omreport chassis info(查看系统摘要信息):

[root@localhost.localdomain ~]$ omreport chassis info
Chassis Information

Index                                    : 0
Chassis Name                             : Main System Chassis
Host Name                                : localhost.localdomain
iDRAC8 Version                           : 2.43.43.43 (Build 6)
Lifecycle Controller Version             : 2.43.43.43
Chassis Model                            : PowerEdge R230
Chassis Lock                             : Present
Chassis Service Tag                      : H3BDYK2
Express Service Code                     : 37205825330
Chassis Asset Tag                        : Unknown
Flash chassis identify LED state         : Off
Flash chassis identify LED timeout value : 300

1.1.3 查看服务器物理CPU信息

omreport chassis processors(物理CPU信息)、查看物理cpu个数如下:
[root@localhost.localdomain ~]$ omreport chassis processors
Processors Information

Health : Ok

Index             : 0
Status            : Ok
Connector Name    : CPU1
Processor Brand   : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
Processor Version : Model 94 Stepping 3
Current Speed     : 3400  MHz
State             : Present
Core Count        : 4

查看cpu个数:
[root@localhost.localdomain ~]$ cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l
1

1.1.4 显示电池相关信息

omreport chassis batteries显示CMOS电池状态:

[root@localhost.localdomain ~]$ omreport chassis batteries
Batteries

Health : Ok

Individual Battery Elements
Index      : 0
Status     : Ok
Probe Name : System Board CMOS Battery
Reading    : Good

omreport storage battery # 查看电池属性

[root@localhost.localdomain ~]$ omreport storage battery
No Batteries found

1.1.5 查看bios信息

[root@localhost.localdomain ~]$ dmidecode -t bios
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: Dell Inc.
	Version: 2.1.4
	Release Date: 04/13/2017
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 16 MB
	Characteristics:
		ISA is supported
		PCI is supported
		PNP is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
		5.25"/360 kB floppy services are supported (int 13h)
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 kB floppy services are supported (int 13h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 2.1

Handle 0x0D00, DMI type 13, 22 bytes
BIOS Language Information
	Language Description Format: Long
	Installable Languages: 1
		en|US|iso8859-1
	Currently Installed Language: en|US|iso8859-1

2、RAID信息查询

MegaCli64 -LDInfo -Lall -aALL(查看raid模式)

[root@localhost.localdomain ~]$ MegaCli64 -LDInfo -Lall -aALL


Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name                :Virtual Disk0
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
Size                : 558.375 GB
Sector Size         : 512
Is VD emulated      : No
Mirror Data         : 558.375 GB
State               : Optimal
Strip Size          : 64 KB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disabled
Encryption Type     : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: Yes
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: No


Virtual Drive: 1 (Target Id: 1)
Name                :Virtual Disk1
RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
Size                : 4.365 TB
Sector Size         : 512
Is VD emulated      : Yes
Parity Size         : 0
State               : Optimal
Strip Size          : 64 KB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disabled
Encryption Type     : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: Yes
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: No



Exit Code: 0x00
[root@localhost.localdomain ~]$

MegaCli64 -AdpAllInfo -aALL(查看raid卡详细信息)

3、磁盘信息查看

  • MegaCli64 -PDList -aALL    ----其中ALL意思是所有的控制器,此处也可以用0表示
  • MegaCli64 -PDList -aN   N可以根据Adapter #0来确定

MegaCli64 -pdlist -a0|egrep "Slot Number|Enclosure Device ID|Error|Raw Size|Media Type|PD Type|Firmware state|Inquiry Data|S.M.A.R.T"(查看物理磁盘信息):

[root@localhost.localdomain ~]$ MegaCli64 -pdlist -a0|egrep "Slot Number|Enclosure Device ID|Error|Raw Size|Media Type|PD Type|Firmware state|Inquiry Data|S.M.A.R.T"
Enclosure Device ID: 32
Slot Number: 0
Media Error Count: 0
Other Error Count: 0
PD Type: SAS
Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA AL15SEB060NY    EF065190A02NFQWF
Media Type: Hard Disk Device
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 32
Slot Number: 1
Media Error Count: 0
Other Error Count: 0
PD Type: SAS
Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
Firmware state: Online, Spun Up
Inquiry Data: TOSHIBA AL15SEB060NY    EF065190A07UFQWF
Media Type: Hard Disk Device
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 32
Slot Number: 2
Media Error Count: 0
Other Error Count: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Firmware state: Online, Spun Up
Inquiry Data: SEAGATE DL2400MM0159    ST58WBM4DTNB
Media Type: Hard Disk Device
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 32
Slot Number: 3
Media Error Count: 0
Other Error Count: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Firmware state: Online, Spun Up
Inquiry Data: SEAGATE DL2400MM0159    ST58WBM4DTRG
Media Type: Hard Disk Device
Drive has flagged a S.M.A.R.T alert : No

获取指定磁盘信息:

MegaCli -pdInfo -PhysDrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL

N表示raid卡编号,0表示第一块raid卡;ALL表示所有的raid卡 ;E和S代表Enclosure Device和Slot Number

查看硬盘槽位与盘符对应关系:

lsscsi -s

[root@localhost.localdomain ~]$ lsscsi -s
[6:2:0:0]    disk    DELL     PERC H730P Adp   4.30  /dev/sda    599GB
[6:2:1:0]    disk    DELL     PERC H730P Adp   4.30  /dev/sdb   4.79TB

4 浪潮服务器

4.1 查看服务器基础信息(dmidecode -t1)

[root@localhost.localdomain ~]$ dmidecode -t1
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.2 present.
# SMBIOS implementations newer than version 3.1.1 are not
# fully supported by this version of dmidecode.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Inspur
	Product Name: SA5112M5
	Version: 00001
	Serial Number: 420813682
	UUID: a25d05b4-dafc-03e6-11eb-b11f5b8aaa91
	Wake-up Type: Power Switch
	SKU Number: Default string
	Family: Default string

4.2 查看CPU信息(ismdreport systems cpu info)

[root@localhost.localdomain ~]$ ismdreport systems cpu info
CPU number: 2
----------------------------------------------------------
id                  :  0
Temp                :  31 degrees C
Socket Designation  :  CPU0
Version             :  Intel(R) Xeon(R) Silver 4210R CPU @ 2.40GHz
External Clock      :  100 MHz
Current Speed       :  2400 MHz
Status              :  Populated, Enabled
Core Count          :  10
Core Enabled        :  10
Thread Count        :  20
----------------------------------------------------------
id                  :  1
Temp                :  24 degrees C
Socket Designation  :  CPU1
Version             :  Intel(R) Xeon(R) Silver 4210R CPU @ 2.40GHz
External Clock      :  100 MHz
Current Speed       :  2400 MHz
Status              :  Populated, Enabled
Core Count          :  10
Core Enabled        :  10
Thread Count        :  20

4.3 查看内存信息(ismdreport systems memory info)

[root@localhost.localdomain ~]$ ismdreport systems memory info
MemoryNum: 2
----------------------------------------------------------
Size                :  32 GB
Locator             :  CPU0_C0D0
Type                :  DDR4
Manufacturer        :  Micron
Serial Number       :  2D6D8173
MemStatus           :  ok
----------------------------------------------------------
Size                :  32 GB
Locator             :  CPU1_C0D0
Type                :  DDR4
Manufacturer        :  Micron
Serial Number       :  2D6D7FD4
MemStatus           :  ok

4.4 查看磁盘信息(MegaCli64 -pdlist -a0)

[root@localhost.localdomain ~]$ MegaCli64 -pdlist -a0

Adapter #0

Enclosure Device ID: 62
Slot Number: 0
Drive's position: DiskGroup: 0, Span: 0, Arm: 1
Enclosure position: N/A
Device Id: 9
WWN: 5000039AB82067AC
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS

Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
Coerced Size: 558.406 GB [0x45cd0000 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  512
Firmware state: Online, Spun Up
Commissioned Spare : No
Emergency Spare : No
Device Firmware Level: 1403
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x5000039ab82067ae
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: TOSHIBA AL15SEB060N     140321A0A0G5FM9F
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive:  Not Certified
Drive Temperature :29C (84.20 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No



Enclosure Device ID: 62
Slot Number: 1
Drive's position: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: N/A
Device Id: 8
WWN: 5000039AB820670C
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS

Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
Coerced Size: 558.406 GB [0x45cd0000 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  512
Firmware state: Online, Spun Up
Commissioned Spare : No
Emergency Spare : No
Device Firmware Level: 1403
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x5000039ab820670e
SAS Address(1): 0x0
Connected Port Number: 1(path0)
Inquiry Data: TOSHIBA AL15SEB060N     140321A0A0FXFM9F
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive:  Not Certified
Drive Temperature :30C (86.00 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

/opt/MegaRAID/MegaCli/MegaCli64 -Cfgdsply -aALL(可以查看一组磁盘上的多个raid的配置)

[root@localhost.localdomain ~]$ MegaCli64 -Cfgdsply -aALL

==============================================================================
Adapter: 0
Product Name: INSPUR 3008IMR
Memory: 0MB
BBU: Absent
Serial No: CAM223E70803A80
==============================================================================
Number of DISK GROUPS: 1

DISK GROUP: 0
Number of Spans: 1
SPAN: 0
Span Reference: 0x00
Number of PDs: 2
Number of VDs: 1
Number of dedicated Hotspares: 0
Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name                :
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
Size                : 558.406 GB
Sector Size         : 512
Is VD emulated      : No
Mirror Data         : 558.406 GB
State               : Optimal
Strip Size          : 64 KB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disabled
Encryption Type     : None
PI type: No PI

Is VD Cached: No
Physical Disk Information:
Physical Disk: 0
Enclosure Device ID: 62
Slot Number: 1
Drive's position: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: N/A
Device Id: 8
WWN: 5000039AB820670C
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS

Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
Coerced Size: 558.406 GB [0x45cd0000 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  512
Firmware state: Online, Spun Up
Commissioned Spare : No
Emergency Spare : No
Device Firmware Level: 1403
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x5000039ab820670e
SAS Address(1): 0x0
Connected Port Number: 1(path0)
Inquiry Data: TOSHIBA AL15SEB060N     140321A0A0FXFM9F
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive:  Not Certified
Drive Temperature :29C (84.20 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No



Physical Disk: 1
Enclosure Device ID: 62
Slot Number: 0
Drive's position: DiskGroup: 0, Span: 0, Arm: 1
Enclosure position: N/A
Device Id: 9
WWN: 5000039AB82067AC
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS

Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
Coerced Size: 558.406 GB [0x45cd0000 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  512
Firmware state: Online, Spun Up
Commissioned Spare : No
Emergency Spare : No
Device Firmware Level: 1403
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x5000039ab82067ae
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: TOSHIBA AL15SEB060N     140321A0A0G5FM9F
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive:  Not Certified
Drive Temperature :28C (82.40 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

4.5 查看内存信息(dmidecode -t memory|egrep "Size|Clock Speed|Locator: CPU|Serial Number|DDR|Memory Device")

[root@localhost.localdomain ~]$ dmidecode -t memory|egrep "Size|Clock Speed|Locator: CPU|Serial Number|DDR|Memory Device"
Memory Device
	Size: 32 GB
	Locator: CPU0_C0D0
	Type: DDR4
	Serial Number: 2D6D8173
	Configured Clock Speed: 2400 MT/s
Memory Device
	Size: No Module Installed
	Locator: CPU0_C0D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C1D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C1D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C2D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C2D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C3D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C3D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C4D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C4D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C5D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU0_C5D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: 32 GB
	Locator: CPU1_C0D0
	Type: DDR4
	Serial Number: 2D6D7FD4
	Configured Clock Speed: 2400 MT/s
Memory Device
	Size: No Module Installed
	Locator: CPU1_C0D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C1D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C1D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C2D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C2D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C3D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C3D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C4D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C4D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C5D0
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown
Memory Device
	Size: No Module Installed
	Locator: CPU1_C5D1
	Serial Number: NO DIMM
	Configured Clock Speed: Unknown

4.6 ismdreport chassis power info(电源信息查看)

[root@localhost.localdomain ~]$ ismdreport chassis power info
PowerNum            :   2
----------------------------------------------------------
Status              :   ok
Temperature         :   33
RatedPower          :   550
OutputPower         :   56
InputPower          :   74
----------------------------------------------------------
Status              :   ok
Temperature         :   27
RatedPower          :   550
OutputPower         :   61
InputPower          :   74

4.7 ismdreport chassis fan info(风扇信息查看)

[root@localhost.localdomain ~]$ ismdreport chassis fan info
Fan number: 14
----------------------------------------------------------
FanId     | FanNo          | Present        | Status         | Current speed(rpm)  | Duty ratio(%)
0         | FAN_0_Front    | PRESENT        | OK             | 3456                | 19
1         | FAN_0_Rear     | PRESENT        | OK             | 3168                | 19
2         | FAN_1_Front    | PRESENT        | OK             | 3456                | 19
3         | FAN_1_Rear     | PRESENT        | OK             | 3168                | 19
4         | FAN_2_Front    | PRESENT        | OK             | 3456                | 19
5         | FAN_2_Rear     | PRESENT        | OK             | 3168                | 19
6         | FAN_3_Front    | PRESENT        | OK             | 3456                | 19
7         | FAN_3_Rear     | PRESENT        | OK             | 3168                | 19
8         | FAN_4_Front    | PRESENT        | OK             | 3456                | 19
9         | FAN_4_Rear     | PRESENT        | OK             | 3168                | 19
10        | FAN_5_Front    | PRESENT        | OK             | 3456                | 19
11        | FAN_5_Rear     | PRESENT        | OK             | 3168                | 19
12        | FAN_6_Front    | PRESENT        | OK             | 3456                | 19
13        | FAN_6_Rear     | PRESENT        | OK             | 3168                | 19

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值