디바이스 드라이버
글 수 70
2015.04.05 11:03:09 (*.121.226.145)
15056
dmidecode 명령은 DMI테이블의 내용을 읽어서 시스템 정보를 자세하게 출력해 주는 명령이라고 합니다.
dmidecode 명령은 인터넷상에서 많은 정보를 제공하고 있으며, 여기서 다시 정리 해 보기로 합니다
기본적으로 설치되어 있으며, 만약 설치가 되어 있지 않다면 아래와 같이 설치하시면 됩니다.
# apt-get install dmidcode
------------------------------------------------------------
명령 사용법
------------------------------------------------------------
VPCCB17FK# dmidecode
# dmidecode 2.12
SMBIOS 2.6 present.
16 structures occupying 704 bytes.
Table at 0x000EB210.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: R0242V2
Release Date: 09/22/2011
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 4096 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
8042 keyboard services are supported (int 9h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
AGP is supported
Smart battery is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
BIOS Revision: 2.42
Firmware Revision: 2.42
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Sony Corporation
Product Name: VPCCB17FK
Version: C608RGDZ
Serial Number: 27538880-7000356
UUID: 2E014B00-F61D-11DE-81A1-F0BF971AF9E3
Wake-up Type: Power Switch
SKU Number: N/A
Family: VAIO
Handle 0x0002, DMI type 2, 10 bytes
Base Board Information
Manufacturer: Sony Corporation
Product Name: VAIO
Version: N/A
Serial Number: N/A
Asset Tag: N/A
Features:
Board is a hosting board
Handle 0x0003, DMI type 3, 17 bytes
........
중략...
........
너무 많은 정보들이 나오기 떄문에 # dmidecode | more 으로 볼 수 있습니다.
아니면 옵션을 사용하여 원하는 정보만을 볼 수 있습니다.
dmidecode 명령으로 나오는 정보들은 다음과 같습니다.
------------------------------------------------------------
DMI Type 정보
------------------------------------------------------------
Type Information
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
40 Additional Information
41 Onboard Device
위의 DMI Type 정보들 중 자신의 시스템에서 제공하는 것은 다음과 같이 확인 할 수 있습니다.
VPCCB17FK# 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
정보를 확인하기 위해서는 다음과 같이 명령을 사용하면 됩니다.
VPCCB17FK# dmidecode -t system
# dmidecode 2.12
SMBIOS 2.6 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Sony Corporation
Product Name: VPCCB17FK
Version: C608RGDZ
Serial Number: 27538880-7000356
UUID: 2E014B00-F61D-11DE-81A1-F0BF971AF9E3
Wake-up Type: Power Switch
SKU Number: N/A
Family: VAIO
Handle 0x000F, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
위의 내용을 각 값만을 보기 위해서는 다음과 같이 확인하면 됩니다.
VPCCB17FK# dmidecode -s
dmidecode: option requires an argument -- 's'
String keyword expected
Valid string keywords are:
bios-vendor
bios-version
bios-release-date
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
processor-family
processor-manufacturer
processor-version
processor-frequency
정보를 확인하기 위해서는 다음과 같이 명령을 사용하면 됩니다.
VPCCB17FK# dmidecode -s system-version
C608RGDZ
dmidecode 명령은 인터넷상에서 많은 정보를 제공하고 있으며, 여기서 다시 정리 해 보기로 합니다
기본적으로 설치되어 있으며, 만약 설치가 되어 있지 않다면 아래와 같이 설치하시면 됩니다.
# apt-get install dmidcode
------------------------------------------------------------
명령 사용법
------------------------------------------------------------
VPCCB17FK# dmidecode
# dmidecode 2.12
SMBIOS 2.6 present.
16 structures occupying 704 bytes.
Table at 0x000EB210.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: R0242V2
Release Date: 09/22/2011
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 4096 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
8042 keyboard services are supported (int 9h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
AGP is supported
Smart battery is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
BIOS Revision: 2.42
Firmware Revision: 2.42
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Sony Corporation
Product Name: VPCCB17FK
Version: C608RGDZ
Serial Number: 27538880-7000356
UUID: 2E014B00-F61D-11DE-81A1-F0BF971AF9E3
Wake-up Type: Power Switch
SKU Number: N/A
Family: VAIO
Handle 0x0002, DMI type 2, 10 bytes
Base Board Information
Manufacturer: Sony Corporation
Product Name: VAIO
Version: N/A
Serial Number: N/A
Asset Tag: N/A
Features:
Board is a hosting board
Handle 0x0003, DMI type 3, 17 bytes
........
중략...
........
너무 많은 정보들이 나오기 떄문에 # dmidecode | more 으로 볼 수 있습니다.
아니면 옵션을 사용하여 원하는 정보만을 볼 수 있습니다.
dmidecode 명령으로 나오는 정보들은 다음과 같습니다.
------------------------------------------------------------
DMI Type 정보
------------------------------------------------------------
Type Information
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
40 Additional Information
41 Onboard Device
위의 DMI Type 정보들 중 자신의 시스템에서 제공하는 것은 다음과 같이 확인 할 수 있습니다.
VPCCB17FK# 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
정보를 확인하기 위해서는 다음과 같이 명령을 사용하면 됩니다.
VPCCB17FK# dmidecode -t system
# dmidecode 2.12
SMBIOS 2.6 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Sony Corporation
Product Name: VPCCB17FK
Version: C608RGDZ
Serial Number: 27538880-7000356
UUID: 2E014B00-F61D-11DE-81A1-F0BF971AF9E3
Wake-up Type: Power Switch
SKU Number: N/A
Family: VAIO
Handle 0x000F, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
위의 내용을 각 값만을 보기 위해서는 다음과 같이 확인하면 됩니다.
VPCCB17FK# dmidecode -s
dmidecode: option requires an argument -- 's'
String keyword expected
Valid string keywords are:
bios-vendor
bios-version
bios-release-date
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
processor-family
processor-manufacturer
processor-version
processor-frequency
정보를 확인하기 위해서는 다음과 같이 명령을 사용하면 됩니다.
VPCCB17FK# dmidecode -s system-version
C608RGDZ