这 就 是 我
最 新 公 告
站 点 日 历
最 新 日 志
最 新 回 复
最 新 留 言
博 客 搜 索
友 情 链 接
 
 
 
Get hardware info by Linux command
beiyue 发表于 2011/1/25 16:40:00
root@feeder-desktop:~# dmidecode -t

dmidecode: option requires an argument -- t
Type number or keyword expected
Valid type keywords are:
bios
system
baseboard
chassis
processor
memory
cache
connector
slot
root@feeder-desktop:~# dmidecode -t system

# dmidecode 2.9
SMBIOS 2.5 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: INVALID
Version: ThinkCentre xxx
Serial Number: NA09714958
UUID: 67D895C9-7B09-49A0-8BCA-6A7AD8845D72
Wake-up Type: Power Switch
SKU Number: To Be Filled By O.E.M.
Family: To Be Filled By O.E.M.

Handle 0x0027, DMI type 15, 35 bytes
System Event Log
Area Length: 4 bytes
Header Start Offset: 0x0000
Header Length: 2 bytes
Data Start Offset: 0x0002
Access Method: Indexed I/O, one 16-bit index port, one 8-bit data port
Access Address: Index 0x046A, Data 0x046C
Status: Invalid, Not Full
Change Token: 0x00000000
Header Format: No Header
Supported Log Type Descriptors: 6
Descriptor 1: End of log
Data Format 1: OEM-specific
Descriptor 2: End of log
Data Format 2: OEM-specific
Descriptor 3: End of log
Data Format 3: OEM-specific
Descriptor 4: End of log
Data Format 4: OEM-specific
Descriptor 5: End of log
Data Format 5: OEM-specific
Descriptor 6: End of log
Data Format 6: OEM-specific

Handle 0x002E, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
demidecode | grep "Serial Number"

阅读全文 | 回复(0) | 引用通告 | 编辑 | 收藏该日志
 


发表评论:

    昵称:
    密码:
    主页:
    标题: