Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the dmidecode command of Linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Most people do not understand the knowledge of this article "how to use the dmidecode command of Linux", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to use the dmidecode command of Linux" article.

Dmidecode allows you to get information about hardware on Linux systems. Dmidecode follows the SMBIOS/DMI standard, and its output information includes BIOS, system, motherboard, processor, memory, cache, and so on.

Understand the information output from dmidecode

After running the dmidecode command, the screen outputs a large number of records, which can be viewed by paging using less, each with 4 different values:

Handle: the identifier DMI type: DMI type. The type in the following figure is 0, which refers to the BIOS information. Size occupied: refers to the size decoded value occupied by this record: information about the type of record. In the following figure, the vendor name, version number, release date and other information of BIOS are displayed.

Run the following command:

[root@localhost ~] # dmidecode | list of DMI types in the lessdmidecode command

The SMBIOS specification defines the following DMI types:

Type Information ──── 0 BIOS 1 System 2 Baseboard 3 Chassis 4 Processor 5 Memory Controller 6 Memory Module 7 Cache 8 Port Connector 9 System Slots 10 On Board Devices 11 OEM Strings 12 System Configuration Options 13 BIOS Language 14 Group Associations 15 System Event Log 16 Physical Memory Array 17 Memory Device 18 32-bit Memory Error 19 Memory Array Mapped Address 20 Memory Device Mapped Address 21 Built-in Pointing Device 22 Portable Battery 23 System Reset 24 Hardware Security 25 System Power Controls 26 Voltage Probe 27 Cooling Device 28 Temperature Probe 29 Electrical Current Probe 30 Out-of-band Remote Access 31 Boot Integrity Services 32 System Boot 33 64-bit Memory Error 34 Management Device 35 Management Device Component 36 Management Device Threshold Data 37 Memory Channel 38 IPMI Device 39 Power Supply 40 Additional Information 41 Onboard Devices Extended Information 42 Management Controller Host Interface

You can use keywords instead of numeric types when you output. The-type parameter needs to be added.

Keyword Types ── bios 0, 13system 1, 12, 15, 23, 32baseboard 2, 10, 41chassis 3processor 4memory 5, 6, 16, 17cache 7connector 8slot 9 use type id and keywords to display hardware information

Display information for bios:

[root@localhost ~] # dmidecode-t bios or [root@localhost ~] # dmidecode-t 0Magne13 output motherboard information [root@localhost ~] # dmidecode-t baseboard shows the installed physical memory

To display information about installed physical memory (RAM), run the following command:

[~] # dmidecode-t 17

It shows that my physical machine has installed two pieces of DDR3 memory, and the capacity of each memory bar is 4GB and other information.

Use the following types to see how much maximum physical memory the machine supports:

[~] # dmidecode-t 16

Display cpu-related information [~] # dmidecode-t processor above is about the article "how to use the dmidecode command of Linux". I believe everyone has a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report