2009.10.30 00:02
컴퓨터의 DMI(Desktop Management Interface)를 사람이 읽을 수 있게 dumping 하는 명령
시스템 정보를 자세하게 출력해 주기 때문에 유용한 명령어 이다.
사용법
아무런 옵션 없이 dmidecode 명령을 입력하면, 모든 정보가 한꺼번에 지나가 버리기 때문에, 아래와 같이
more 를 사용해서 확인을 하거나, -t, -s 등의 옵션을 사용해서 확인 하면 된다.
=====================================================
[root@localhost ~]# dmidecode | more
# dmidecode 2.9
SMBIOS 2.3 present.
50 structures occupying 2156 bytes.
Table at 0x000F5EEA.
Handle 0x0000, DMI type 0, 19 bytes
BIOS Information
Vendor: IBM
Version: -[APE132AUS-1.13]-
Release Date: 02/16/2006
Address: 0xF0F40
Runtime Size: 61632 bytes
ROM Size: 4096 kB
.... (생략)
=====================================================
-s, -t 옵션뒤에는 아래와 같은 형식의 키워드와 타입을 사용할 수 있으며, 기타 다른 옵션은 -h 옵션을 통해서 확인 가능하다.
=====================================================
[root@localhost ~]# 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
[root@localhost ~]# dmidecode -s bios-version
-[APE132AUS-1.13]-
[root@localhost ~]# dmidecode -s bios-vendor
IBM
[root@localhost ~]#
[root@localhost ~]# 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@localhost ~]# dmidecode -t system
# dmidecode 2.9
SMBIOS 2.3 present.
Handle 0x0001, DMI type 1, 25 bytes
System Information
Manufacturer: IBM
Product Name: eserver xSeries 336 -[883725K]-
Version: Not Specified
Serial Number: 99DAXZ7
UUID: 80533B64-1C3B-B601-F48D-00145E800DB6
Wake-up Type: Power Switch
Handle 0x001F, DMI type 12, 5 bytes
System Configuration Options
Option 1: SW1-6 Power On Password Bypass
Option 2: SW1-6 toggle, Bypass POP on next boot
Handle 0x0020, DMI type 12, 5 bytes
System Configuration Options
Option 1: SW1-7 Force Power On
Option 2: SW1-7 on, Force power on
Option 3: SW1-7 off, Normal operation
Handle 0x0021, DMI type 12, 5 bytes
System Configuration Options
Option 1: SW2-1 Force NMI
Option 2: SW2-1 on, NMI generated
Option 3: SW2-1 off, NMI not generated
Handle 0x0022, DMI type 12, 5 bytes
System Configuration Options
Option 1: J28-Flash ROM page swap jumper
Option 2: J28 pins 1-2 Primary-on, J28 pins 2-3 Backup-on
Option 3: The Primary(default) position is J28 pins 1-2
Option 4: Changing to pins 2-3 will change
Option 5: which of the two pages of Flash ROM is used when
Option 6: the system is started.
[root@localhost ~]#
=====================================================
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
46 | vsftpd 패시브 모드 설정 | 호스트웨이 | 2015.09.13 | 3345 |
45 | iptables를 이용한 ssh 스캐닝 공격 방어 | 호스트웨이 | 2012.09.21 | 3335 |
44 | UTF-8 환경의 Linux 에서 SAMBA 한글 인코딩 문제 해결 방법 | 호스트웨이 | 2015.09.09 | 3290 |
43 | 리눅스 관리툴 webmin 설치하기 | 호스트웨이 | 2012.12.07 | 3197 |
42 | 리눅스 파티션 볼륨 레이블 설정 | 호스트웨이 | 2012.11.01 | 3177 |
41 | /proc/sys/net/ipv4 활용 서버보안 -2- | 호스트웨이 | 2015.09.18 | 3137 |
40 | INIT: no more processes left in this runlevel 메세지 발생시 | 호스트웨이 | 2012.11.15 | 3023 |
39 | yum을 이용한 X-Window 설치 | 호스트웨이 | 2012.09.27 | 3006 |
38 | 리눅스 tree 명령어 | 호스트웨이 | 2012.09.21 | 2931 |
37 | SNMPD LOG 안남게 하기 | 호스트웨이 | 2015.09.10 | 2891 |
36 | /proc/sys/net/ipv4 활용 서버보안 -1- | 호스트웨이 | 2015.09.17 | 2838 |
35 | df 쉽게 보기 | 호스트웨이 | 2012.12.20 | 2835 |
34 | UTF-8 환경에서 리눅스 한글 꺠짐 현상 해결법 | 호스트웨이 | 2015.09.08 | 2771 |
33 | 쉘 프롬프트에서 바로 이전 디렉토리로 이동하기 | 호스트웨이 | 2012.12.20 | 2751 |
32 | 읽기 전용 파티션 읽고 쓸수 있게 재마운트하는 방법 | 호스트웨이 | 2015.09.13 | 2720 |
31 | 랜카드 본딩(bond0) 설정 | 호스트웨이 | 2012.11.16 | 2719 |
30 | 쉘 프롬프트 설정하기 | 호스트웨이 | 2012.11.08 | 2671 |
29 | 리눅스 hdd 속도 알아보기 | 호스트웨이 | 2015.09.17 | 2623 |
28 | hostname 변경하기 | 호스트웨이 | 2015.09.17 | 2621 |
27 | 리눅스 look 명령어 | 호스트웨이 | 2012.11.02 | 2598 |