리눅스 운영체제 상에서 CMOS BIOS 정보 확인하기






리부팅 없이 시스템 CMOS BIOS 및 H/W 정보 보기

소개할 프로그램은 dmidecode 란 프로그램입니다.
대개의 OS 배포판에 기본적으로 설치가 되어 있으며, 설치가 안되어 있다면 아래 홈페이지에서 다운을 받으시면 됩니다.

http://www.nongnu.org/dmidecode/

맨페이지를 참고하면 이 프로그램으로 파악 할 수 있는 내역은 다음과 같습니다.

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

메인보드와 H/W 에 관련된 거의 모든 정보를 다 확인이 가능하며, 현재 시스템이 사용하고 있는 메인보드 BIOS 의 버전까지 아래처럼 확인이 가능합니다.

[root@TOM ~]# dmidecode –type 0
# dmidecode 2.7
SMBIOS 2.3 present.

Handle 0x0000, DMI type 0, 20 bytes.
BIOS Information
Vendor: American Megatrends Inc.
Version: 080011

Release Date: 07/08/2005
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 512 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)
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
AGP is supported
LS-120 boot is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported

또 하나 유용하게 사용할 수 있는 옵션이 하나 있는데 바로 메모리 관련 옵션입니다.

고객분들께서 꽤나 자주 요청하는 것중에 하나인 바로 메모리 소켓 확인 및 타입 확인입니다.
대개 이런 요청을 하였을 경우에는 지금까지는 시스템을 셧다운 시키고 케이스를 열어서 직접 육안으로 확인하여야 하였으며, 이에 따라 서비스의 다운타임이 발생하였습니다.

하지만, 이 커맨드를 사용하면 위와 같이 셧다운을 할 필요 없이 바로 확인이 가능합니다.

[root@TOM ~]# dmidecode –type memory
# dmidecode 2.7
SMBIOS 2.3 present.

Handle 0x0028, DMI type 16, 15 bytes.
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 2

Handle 0x002A, DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x0028
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK0
Type: DDR
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)
Manufacturer: Manufacturer0
Serial Number: SerNum0
Asset Tag: AssetTagNum0
Part Number: PartNum0

Handle 0x002C, DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x0028
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK1
Type: DDR
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)
Manufacturer: Manufacturer1
Serial Number: SerNum1
Asset Tag: AssetTagNum1
Part Number: PartNum1

위의 예처럼 최대 지원 메모리, 메모리 소켓의 갯수 장착된 메모리의 용량 및 타입, 위치까지 다 표시가 됩니다.

위의 예는 메모리 소켓이 2개에 2개의 메모리가 장착되어 있는 경우이구요.
아래의 예는 Xeon 듀얼에 ECC Memory 를 사용하고 있는 시스템의 정보입니다.

[root@kssgg ~]# dmidecode -t memory
# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x000A, DMI type 5, 24 bytes
Memory Controller Information
Error Detecting Method: 64-bit ECC
Error Correcting Capabilities:
Single-bit Error Correcting
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 1024 MB
Maximum Total Memory Size: 4096 MB
Supported Speeds:
70 ns
60 ns
Supported Memory Types:
Other
Unknown
Standard
FPM
EDO
Parity
ECC
SIMM
DIMM
Burst EDO
SDRAM
Memory Module Voltage: 3.3 V
Associated Memory Slots: 4
0x000B
0x000C
0x000D
0x000E
Enabled Error Correcting Capabilities:
Single-bit Error Correcting

Handle 0x000B, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMMA
Bank Connections: 0 0
Current Speed: Unknown
Type: ECC DIMM SDRAM
Installed Size: 1024 MB (Double-bank Connection)
Enabled Size: 1024 MB (Double-bank Connection)
Error Status: OK

Handle 0x000C, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMMB
Bank Connections: 0 0
Current Speed: Unknown
Type: ECC DIMM SDRAM
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK

Handle 0x000D, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMMC
Bank Connections: 0 0
Current Speed: Unknown
Type: ECC DIMM SDRAM
Installed Size: 1024 MB (Double-bank Connection)
Enabled Size: 1024 MB (Double-bank Connection)
Error Status: OK

Handle 0x000E, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMMD
Bank Connections: 0 0
Current Speed: Unknown
Type: ECC DIMM SDRAM
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK

이처럼 ECC 타입에 대해서도 정확한 정보를 제공하여 줍니다.

man 페이지처럼 모든 정보를 다 확인을 할 수가 있다면 좋겠으나, OS 설정 및 CMOS 설정에 따라서 일부의 정보는 제공하지 않는 다는 것을 참고하시기 바랍니다

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

3 Responses

  1. 김동욱 말해보세요:

    좋은정보 감사합니다.

  1. 2022년 6월 22일

    2glutton

  2. 2023년 1월 27일

    3horoscope

김동욱 에 응답 남기기 응답 취소