Linux dmidecode 命令
当我们需要获取机器硬件信息时,可使用linux系统自带的dmidecode工具进行查询。
dmidecode 用于获取服务器的硬件信息,通常是在不打开计算机机箱的情况下使用该命令来查找硬件详细信息
这个命令可以查看内存的几乎所有信息,包括频率 大小等等,另外这个命令强大到几乎可以查任何硬件信息 包括设备型号、bios 、cpu、主板 、处理器、内存、缓存详细信息等等都例举出来,
对于大部分普通服务器用户来说,我们选择VPS、服务器产品的时候比较关心的是产品的费用、服务器的速度以及稳定性,更有就是服务商家的服务(尤其不能跑路)。随着我们使用服务器时间的推移,以及会看到各个不同的商家产品的时候,就会需要有所对比,严谨的用户会更为的关注产品的硬件配置信息。
因为在主机行业中,配置的差距关乎到产品的成本和费用,至少我们要弄明白不能被人忽悠。
[root@localhost ~]$ yum install -y dmidecode
常见用法如下:
[root@localhost ~]$ dmidecode # 打印所有硬件信息
[root@localhost ~]$ dmidecode -q # 打印所有硬件信息,比较简洁
[root@localhost ~]$ dmidecode | grep 'Product Name' # 以过滤的方式来查看指定的硬件信息
[root@localhost ~]$ dmidecode -t bios # 查看BIOS相关的硬件信息
[root@localhost ~]$ dmidecode -t system # 查看系统相关的硬件信息
[root@localhost ~]$ dmidecode -t baseboard # 查看主板相关的硬件信息
[root@localhost ~]$ dmidecode -t chassis # 查看机箱相关的硬件信息
[root@localhost ~]$ dmidecode -t processor # 查看处理器相关的硬件信息
[root@localhost ~]$ dmidecode -t memory # 查看内存相关的硬件信息
查看系统相关的硬件信息
dmidecode -t system
dmidecode -t system
# dmidecode 2.12
SMBIOS 2.5 present. Handle 0x0001, DMI type , bytes
System Information
Manufacturer: System manufacturer
Product Name: System Product Name
Version: System Version
Serial Number: System Serial Number
UUID: 00797DF5-8DFE-D511-A89C-3085A9A895F8
Wake-up Type: Power Switch
SKU Number: To Be Filled By O.E.M.
Family: To Be Filled By O.E.M. Handle 0x0035, DMI type , bytes
System Event Log
Area Length: bytes
Header Start Offset: 0x0810
Data Start Offset: 0x0810
Access Method: Memory-mapped physical -bit address
Access Address: 0xFFFBC000
Status: Valid, Not Full
Change Token: 0x00000000
Header Format: No Header
Supported Log Type Descriptors:
Descriptor : OEM-specific
Data Format : Multiple-event handle
Descriptor : OEM-specific
Data Format : Multiple-event handle
Descriptor : Single-bit ECC memory error
Data Format : POST results bitmap
Descriptor : Multi-bit ECC memory error
Data Format : POST results bitmap
Descriptor : Parity memory error
Data Format : Multiple-event
Descriptor : I/O channel block
Data Format : Multiple-event
Descriptor : POST error
Data Format : POST results bitmap
Descriptor : PCI parity error
Data Format : Multiple-event handle
Descriptor : PCI system error
Data Format : Multiple-event handle
Descriptor : System limit exceeded
Data Format : Multiple-event system management
Descriptor : OEM-specific
Data Format : POST results bitmap Handle 0x0050, DMI type , bytes
System Boot Information
Status: No errors detected
查看服务器型号:dmidecode | grep 'Product Name'
dmidecode |grep 'Product Name'
Product Name: System Product Name
Product Name: Z8NR-D12
dmidecode | grep -i product
Product Name: System Product Name
Product Name: Z8NR-D12
查看主板的序列号:dmidecode |grep 'Serial Number'
dmidecode |grep 'Serial Number'
Serial Number: System Serial Number
Serial Number:
Serial Number: Chassis Serial Number
Serial Number: To Be Filled By O.E.M.
Serial Number: To Be Filled By O.E.M.
Serial Number: D8CC0900
Serial Number: SerNum01
Serial Number: SerNum02
Serial Number: SerNum03
Serial Number: SerNum04
Serial Number: SerNum05
Serial Number: D8CC0900
Serial Number: SerNum07
Serial Number: SerNum08
Serial Number: SerNum09
Serial Number: SerNum10
Serial Number: SerNum11
查看系统序列号:dmidecode -s system-serial-number
dmidecode -s system-serial-number
System Serial Number
查看OEM信息:dmidecode -t 11
dmidecode -t
# dmidecode 2.12
SMBIOS 2.5 present. Handle 0x0033, DMI type , bytes
OEM Strings
String : To Be Filled By O.E.M.
String : To Be Filled By O.E.M.
String : To Be Filled By O.E.M.
String : To Be Filled By O.E.M.
查询内存条数:
[root@mysql ~]# dmidecode -t | grep "Size.*MB" | wc -l
第一、dmidecode查看主板信息
dmidecode -t 2 = dmidecode -t baseboard
[root@mysql ~]#dmidecode -t
# dmidecode 2.12
SMBIOS 2.5 present. Handle 0x0002, DMI type , bytes
Base Board Information
Manufacturer: ASUSTeK Computer INC.
Product Name: Z8NR-D12
Version: Rev .xxG
Serial Number:
Asset Tag: To Be Filled By O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To Be Filled By O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles:
第二、使用dmidecode查询内存(RAM)信息
dmidecode -t 16
首先,可以通过以下命令查询机器最大支持的内存总量
[root@mysql ~]#dmidecode -t
# dmidecode 2.12
SMBIOS 2.5 present. Handle 0x0036, DMI type , bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: GB
Error Information Handle: Not Provided
Number Of Devices:
这里可以查看到当前服务器允许扩容的最大内存大小,从以上输出可知,该机器理论上支持的最大内存为96G。
然后使用以下命令查询机器可用的内存:
grep MemTotal /proc/meminfo
MemTotal: kB
可以看到机器可用的内存为32G,也即我们可以再扩64G内存。
第三、查看当前内存数和插槽数
dmidecode|grep -P -A5 "Memory Device" |grep Size
[root@mysql ~]#dmidecode|grep -P -A5 "Memory Device" |grep Size
Size: MB
Range Size: kB
Size: No Module Installed
Range Size: kB
Size: No Module Installed
Range Size: kB
Size: No Module Installed
Range Size: kB
Size: No Module Installed
Range Size: kB
Size: No Module Installed
Range Size: kB
Size: MB
Range Size: kB
Size: No Module Installed
Range Size: kB
Size: No Module Installed
Range Size: GB
Size: No Module Installed
Range Size: kB
Size: No Module Installed
Range Size: kB
Size: No Module Installed
Range Size: kB
1.查看内存槽数、那个槽位插了内存,大小是多少
[root@mysql ~]# dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range
Size: MB
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: MB
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
第四、查看内存条数
但是在用的32G内存是怎么组成的?是1条32G内存?是2条16G内存?
我们可以通过以下命令进行查询:
dmidecode -t 17
No Module Installed 代表没有插内存条的槽
[root@mysql ~]# dmidecode -t
# dmidecode 2.12
SMBIOS 2.5 present. Handle 0x0038, DMI type , bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: bits
Data Width: bits
Size: MB
Form Factor: DIMM
Set: None
Locator: DIMM_A1
Bank Locator: BANK0
Type: DDR3
Type Detail: None
Speed: MHz
Manufacturer: Manufacturer00
Serial Number: D8CC0900
Asset Tag: AssetTagNum0
Part Number: TS2GKR72V3H Handle 0x0044, DMI type , bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: bits
Data Width: bits
Size: MB
Form Factor: DIMM
Set: None
Locator: DIMM_D1
Bank Locator: BANK2
Type: DDR3
Type Detail: None
Speed: MHz
Manufacturer: Manufacturer02
Serial Number: D8CC0900
Asset Tag: AssetTagNum6
Part Number: TS2GKR72V3H Handle 0x004E, DMI type , bytes
Memory Device
Array Handle: 0x0036
Error Information Handle: Not Provided
Total Width: bits
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_F2
Bank Locator: BANK3
Type: DDR3
Type Detail: None
Speed: Unknown
Manufacturer: Manufacturer03
Serial Number: SerNum11
Asset Tag: AssetTagNum11
Part Number: ModulePartNumber11
从红色部分,我们可以看到当前服务器是32GB内存,然后看到上面数据,可以知道该机器插了2根16G内存条
第五、查看物理CPU信息
dmidecode -t 4
[root@mysql ~]# dmidecode -t
# dmidecode 2.12
SMBIOS 2.5 present. Handle 0x0004, DMI type , bytes
Processor Information
Socket Designation: CPU
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: C2 FF FB EB BF
Signature: Type , Family , Model , Stepping
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE- (-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions )
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Xeon(R) CPU E5620 @ .40GHz
Voltage: 1.2 V
External Clock: MHz
Max Speed: MHz
Current Speed: MHz
Status: Populated, Enabled
Upgrade: Socket LGA1366
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count:
Core Enabled:
Thread Count:
Characteristics:
-bit capable Handle 0x0008, DMI type , bytes
Processor Information
Socket Designation: CPU
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: C2 FF FB EB BF
Signature: Type , Family , Model , Stepping
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE- (-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions )
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Xeon(R) CPU E5620 @ .40GHz
Voltage: 1.2 V
External Clock: MHz
Max Speed: MHz
Current Speed: MHz
Status: Populated, Enabled
Upgrade: Socket LGA1366
L1 Cache Handle: 0x0009
L2 Cache Handle: 0x000A
L3 Cache Handle: 0x000B
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count:
Core Enabled:
Thread Count:
Characteristics:
-bit capable
也可以用cat /proc/cpuinfo命令查看CPU信息。
第六、查看服务器硬盘信息
cat /proc/scsi/scsi
[root@mysql ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: Id: Lun:
Vendor: LSI Model: Logical Volume Rev:
Type: Direct-Access ANSI SCSI revision:
Host: scsi0 Channel: Id: Lun:
Vendor: SEAGATE Model: ST3300657SS Rev:
Type: Direct-Access ANSI SCSI revision:
Host: scsi0 Channel: Id: Lun:
Vendor: SEAGATE Model: ST3300657SS Rev:
Type: Direct-Access ANSI SCSI revision:
Host: scsi4 Channel: Id: Lun:
Vendor: TSSTcorp Model: CDDVDW SN-208BB Rev: AS01
Type: CD-ROM ANSI SCSI revision:
第七、dmidecode查看内存速率
dmidecode|grep -A16 "Memory Device"|grep 'Speed'
没插就是unknown。
[root@mysql ~]# dmidecode|grep -A16 "Memory Device"|grep 'Speed'
Speed: MHz
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: MHz
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
第八、查看系统相关的硬件信息
dmidecode -t 1 = dmidecode -t system
dmidecode -t
# dmidecode 2.12
SMBIOS 2.5 present. Handle 0x0001, DMI type , bytes
System Information
Manufacturer: System manufacturer
Product Name: System Product Name
Version: System Version
Serial Number: System Serial Number
UUID: 00797DF5-8DFE-D511-A89C-3085A9A895F8
Wake-up Type: Power Switch
SKU Number: To Be Filled By O.E.M.
Family: To Be Filled By O.E.M.
另外也可通过/proc查询CPU相关信息。
查询物理CPU个数:
[root@mysql ~]#cat /proc/cpuinfo |grep 'physical id'|sort|uniq|wc -l
查询CPU核数:
[root@mysql ~]#cat /proc/cpuinfo |grep 'core id'|wc -l
更精简的信息显示:
dmidecode -q
//BIOS相关的硬件信息
BIOS Information
Vendor: American Megatrends Inc.
Version:
Release Date: //
Address: 0xF0000
Runtime Size: kB
ROM Size: kB
Characteristics:
ISA is supported
PCI is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
LS- boot is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 8.15 //系统相关的硬件信息
System Information
Manufacturer: System manufacturer # 厂商
Product Name: System Product Name # 服务器型号
Version: System Version # 版本号
Serial Number: System Serial Number # 主板序列号
UUID: 00797DF5-8DFE-D511-A89C-3085A9A895F8 # UUID
Wake-up Type: Power Switch
SKU Number: To Be Filled By O.E.M.
Family: To Be Filled By O.E.M. Base Board Information
Manufacturer: ASUSTeK Computer INC.
Product Name: Z8NR-D12
Version: Rev .xxG
Serial Number:
Asset Tag: To Be Filled By O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To Be Filled By O.E.M.
Type: Motherboard //机箱相关的硬件信息
Chassis Information
Manufacturer: Chassis Manufacture
Type: Desktop
Lock: Not Present
Version: Chassis Version
Serial Number: Chassis Serial Number
Asset Tag: Asset-
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000001
Height: Unspecified
Number Of Power Cords:
Contained Elements: //处理器相关的硬件信息
Processor Information
Socket Designation: CPU
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: C2 FF FB EB BF
Signature: Type , Family , Model , Stepping
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE- (-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions )
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Xeon(R) CPU E5620 @ .40GHz
Voltage: 1.2 V
External Clock: MHz
Max Speed: MHz
Current Speed: MHz
Status: Populated, Enabled
Upgrade: Socket LGA1366
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count:
Core Enabled:
Thread Count:
Characteristics:
-bit capable Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level
Operational Mode: Write Through
Location: Internal
Installed Size: kB
Maximum Size: kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Parity
System Type: Instruction
Associativity: -way Set-associative Processor Information
Socket Designation: CPU
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: C2 FF FB EB BF
Signature: Type , Family , Model , Stepping
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE- (-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions )
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Xeon(R) CPU E5620 @ .40GHz
Voltage: 1.2 V
External Clock: MHz
Max Speed: MHz
Current Speed: MHz
Status: Populated, Enabled
Upgrade: Socket LGA1366
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count:
Core Enabled:
Thread Count:
Characteristics:
-bit capable Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level
Operational Mode: Write Through
Location: Internal
Installed Size: kB
Maximum Size: kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Parity
System Type: Instruction
Associativity: -way Set-associative Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: PS2Mouse
External Connector Type: PS/
Port Type: Mouse Port Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: PS/
Port Type: Keyboard Port Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB1
External Connector Type: Access Bus (USB)
Port Type: USB System Slot Information
Designation: PCIE1
Type: x16 PCI Express
Current Usage: Available
Length: Short
ID:
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported System Slot Information
Designation: PCIE2
Type: x4 PCI Express
Current Usage: Available
Length: Short
ID:
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported On Board Device Information
Type: Video
Status: Enabled
Description: AST2050 OEM Strings
String : To Be Filled By O.E.M.
String : To Be Filled By O.E.M.
String : To Be Filled By O.E.M.
String : To Be Filled By O.E.M. BIOS Language Information
Language Description Format: Abbreviated
Installable Languages:
en|US|iso8859-
Currently Installed Language: en|US|iso8859- System Event Log
Area Length: bytes
Header Start Offset: 0x0810
Data Start Offset: 0x0810
Access Method: Memory-mapped physical -bit address
Access Address: 0xFFFBC000
Status: Valid, Not Full
Change Token: 0x00000000
Header Format: No Header
Supported Log Type Descriptors:
Descriptor : OEM-specific
Data Format : Multiple-event handle
Descriptor : OEM-specific
Data Format : Multiple-event handle
Descriptor : Single-bit ECC memory error
Data Format : POST results bitmap
Descriptor : Multi-bit ECC memory error
Data Format : POST results bitmap
Descriptor : Parity memory error
Data Format : Multiple-event
Descriptor : I/O channel block
Data Format : Multiple-event
Descriptor : POST error
Data Format : POST results bitmap
Descriptor : PCI parity error
Data Format : Multiple-event handle
Descriptor : PCI system error
Data Format : Multiple-event handle
Descriptor : System limit exceeded
Data Format : Multiple-event system management
Descriptor : OEM-specific
Data Format : POST results bitmap //物理内存阵列
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: GB
Number Of Devices: //内存阵列映射地址
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000C00003FF
Range Size: GB
Partition Width: //内存设备
Memory Device
Total Width: bits
Data Width: bits
Size: MB
Form Factor: DIMM
Set: None
Locator: DIMM_A1
Bank Locator: BANK0
Type: DDR3
Type Detail: None
Speed: MHz
Manufacturer: Manufacturer00
Serial Number: D8CC0900
Asset Tag: AssetTagNum0
Part Number: TS2GKR72V3H //内存设备映射地址
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000000003FF
Range Size: kB
Partition Row Position:
Interleave Position: Unknown
Interleaved Data Depth: //系统引导
System Boot Information
Status: No errors detected IPMI Device Information
Interface Type: KCS (Keyboard Control Style)
Specification Version: 2.0
I2C Slave Address: 0x10
NV Storage Device Address:
Base Address: 0x0000000000000CA2 (I/O)
Register Spacing: Successive Byte Boundaries
Linux dmidecode 命令的更多相关文章
- Linux dmidecode命令
1.linux系统自带的dmidecode工具查询服务器硬件信息 dmidecode 用于获取服务器的硬件信息,通常是在不打开计算机机箱的情况下使用该命令来查找硬件详细信息 这个命令可以查看内存的几乎 ...
- 使用 python 获取 Linux 系统信息(通过dmidecode命令)
通过 dmidecode 命令可以获取到 Linux 系统的包括 BIOS. CPU.内存等系统的硬件信息,这里使用 python 代码来通过调用 dmidecode 命令来获取 Linux 必要的系 ...
- linux下dmidecode命令获取硬件信息
linux下dmidecode命令获取硬件信息 2 A+ 所属分类:Linux 运维工具 dmidecode在 Linux 系统下获取有关硬件方面的信息.dmidecode 遵循 SMBIOS/DMI ...
- linux 查看内存信息,及其他硬件信息 dmidecode命令
由于想换内存,想看看内存型号.频率,简单搜了下命令 可以用dmidecode 命令查看. dmidecode -t memory 这个命令可以查看内存的几乎所有信息,包括频率 大小等等 另外这个命令强 ...
- linux 常用命令大全
linux 常用命令大全 系统信息 arch 显示机器的处理器架构(1) uname -m 显示机器的处理器架构(2) uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统 ...
- 一个linux常见命令的列表
这是一个linux常见命令的列表. 那些有• 标记的条目,你可以直接拷贝到终端上而不需要任何修改,因此你最好开一个终端边读边剪切&拷贝. 所有的命令已在Fedora和Ubuntu下做了测试 命 ...
- 【转】dmidecode命令详解
Dmidecode 这款软件允许你在 Linux 系统下获取有关硬件方面的信息.Dmidecode 遵循 SMBIOS/DMI 标准,其输出的信息包括 BIOS.系统.主板.处理器.内存.缓存等等. ...
- linux常用命令【原创】
查看文件内容-while: cat 1.txt|while read line;do echo $line;done while read line; do echo $line; done < ...
- Linux常用命令大全(非常全!!!)
Linux常用命令大全(非常全!!!) 最近都在和Linux打交道,感觉还不错.我觉得Linux相比windows比较麻烦的就是很多东西都要用命令来控制,当然,这也是很多人喜欢linux的原因,比较短 ...
随机推荐
- 服务器部署多个tomcat(Address already in use: JVM_Bind)
一.修改startup.bat **多个Tomcat同时运行时.不要设置 catalina_home catalina_base classes 环境变量, 修改setclasspath.bat (| ...
- Java 简单的rpc 一
一,简单rpc 是基于Java socket 编程 ServerSocket serverSocket = new ServerSocket(9999); System.out.println(&qu ...
- [Bayes] prod: M-H: Independence Sampler for Posterior Sampling
M-H是Metropolis抽样方法的扩展,扩展后可以支持不对称的提议分布. 对于M-H而言,根据候选分布g的不同选择,衍生出了集中不同的变种: (1)Metropolis抽样方法 (2)随机游动Me ...
- [Bayes] openBUGS: this is not the annoying bugs in programming
Bayesian inference Using Gibbs Sampling 允许用户指定复杂的多层模型,并可使用MCMC算法来估计模型中的未知参数. We use DAGs to specify ...
- "佛祖保佑 永无bug" 注释模板设置详解(仅供娱乐)
1.注释模板效果图 今天在网上看到一段有趣的注释,佛祖保佑 永无bug, 效果如下图所示: 代码如下所示: /** * _ooOoo_ * o8888888o * 88" . " ...
- 官方文档:Office VBA 参考
https://docs.microsoft.com/zh-CN/office/vba/api/overview/ Office VBA 参考 https://docs.microsoft.co ...
- [原]openstack-kilo--issue(十六) instance can't get ip 虚拟机不能得到ip(1)
=====问题点:vm instance不能正常获取ip地址(此时用户是:admin) =======不一样的点:如果使用用户demo用户,启动一个vm,同样的image这个时候就能正确获取ip == ...
- 6 CLR静态构造器
CLR保证一个类型构造器在每个AppDomain中只执行一次,而且这种执行是线程安全的. 作用: 就是初始化静态成员 比如有几个静态成员需要初始化那你把初始化代码放到哪呢? 放到普通构造函数里,那肯定 ...
- jmeter之结果重定向
在使用jmeter与jenkins对接时,发现默认打印出来的日志就是正常的summary统计,如果要查看日志,只能通过jmeter.log去查看. 来来来,我们一起温习下jmeter的命令行参数 -- ...
- Linux下的tr编辑器命令详解
通过使用 tr,您可以非常容易地实现 sed 的许多最基本功能.您可以将 tr 看作为 sed 的(极其)简化的变体:它可以用一个字符来替换另一个字符,或者可以完全除去一些字符.您也可以用它来除去重复 ...