Ngoài /proc/cpuinfo, /proc/meminfo, lshw, ... lệnh này sẽ hữu ích trong một số trường hợp.
DMI là viết tắt của từ Desktop Management Interface - dùng để quản lý và theo dõi các thành phần trên máy tính. Đọc thêm tại: http://www.dmtf.org/standards/dmi/
Một bản ghi trong bảng DMI có dạng:
Record Header: Handle {record id}, DMI type {dmi type id}, {record size} bytes
Record Value: {multi line record value}
record id: định danh duy nhất cho bản ghi
dmi type id: loại bản ghi
record size: kích cỡ của bản ghi
multi line record value: giá trị bản ghi cho một loại DMI xác định
Ví Dụ:
1- Thông tin về BIOS:
[root@dbmaster ~]# dmidecode -t bios
# dmidecode 2.9
SMBIOS 2.6 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: HP
Version: P62
Release Date: 07/24/2009
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 8192 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
EDD is supported
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)
Print screen service is supported (int 5h)
8042 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
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
2-Thông tin về hệ thống:
[root@dbmaster ~]# dmidecode -t 1# dmidecode 2.9
SMBIOS 2.6 present.
Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: HP
Product Name: ProLiant DL380 G6
Version: Not Specified
Serial Number: SGH946X82C
UUID: 34393433-3239-5347-4839-343658383243
Wake-up Type: Power Switch
SKU Number: 494329-B21
Family: ProLiant
3-Thông tin về bộ xử lý:
[root@dbmaster ~]# dmidecode -t Processor
# dmidecode 2.9
SMBIOS 2.6 present.
Handle 0x0400, DMI type 4, 42 bytes
Processor Information
Socket Designation: Proc 1
Type: Central Processor
Family: <OUT OF SPEC>
Manufacturer: Intel
ID: A5 06 01 00 FF FB EB BF
Version: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
Voltage: 1.4 V
External Clock: 133 MHz
Max Speed: 4800 MHz
Current Speed: 2400 MHz
Status: Populated, Enabled
Upgrade: <OUT OF SPEC>
L1 Cache Handle: 0x0710
L2 Cache Handle: 0x0720
L3 Cache Handle: 0x0730
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 4
Core Enabled: 4
Thread Count: 8
Characteristics:
64-bit capable
Type Information
ReplyDelete----------------------------------------
0 BIOS
1 System
2 Base Board
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
Kiểm tra DIM còn trống trên main
ReplyDeletedmidecode -t 17 | more