Logo

linux CPU,메모리 제조사, 슬롯,뱅크등 자세한 정보 알아내는 방법

프로그램 명 : dmidecode 2.8 (시스템(bios/dmi) 정보확인)
운영체제     LINUX,FreeBSD
라이센스     GPL
홈페이지     http://www.nongnu.org/dmidecode/

  1. dmidecode 를 설치함.

홈페이지에서 최신 tar.gz 다운로드

tar xvzfp dmidecode-2.9.tar.gz
cd dmidecode-2.9
make
make install

  1. 실행해본다.

[root@storage0001 dmidecode-2.9]# whereis dmidecode
dmidecode: /usr/sbin/dmidecode /usr/local/sbin/dmidecode
[root@storage0001 dmidecode-2.9]# dmidecode

매우 복잡한 시스템정보 출력됨

문제점

너무 복잡해서 뭐가 뭔지 모름

그래서, dmidecode를 쉽게 보여주는 유틸을 하나 추가설치한다.

  1. lshw 설치

http://ezix.org/project/wiki/HardwareLiSter

화면중간쯤에

The latest version is B.02.13 (MD5:e94c728ed037ca706436b5ef71aa392d, SHA1:e27412d47de8efb4adb3646e46affffb95dd384f).

이 부분 클릭하고 다운로드함

wget http://ezix.org/software/files/lshw-B.02.13.tar.gz

tar xvzfp lshw-B.02.13.tar.gz
cd lshw-B.02.13
make

완료됨

cd src
./lshw |more
(약 2초간 대기….)

     *-cpu:1
          description: CPU
          physical id: 8
          bus info: cpu@1
          version: 15.4.3
          serial: 0000-0F43-0000-0000-0000-0000
          slot: CPU 2
          size: 18EHz
          capabilities: ht
          configuration: id=0
        *-cache:0 DISABLED
             description: L1 cache
             physical id: 9
             slot: L1-Cache
        *-cache:1 DISABLED
             description: L2 cache
             physical id: a
             slot: L2-Cache
        *-logicalcpu:0
             description: Logical CPU
             physical id: 0.1
             capabilities: logical
        *-logicalcpu:1
             description: Logical CPU
             physical id: 0.2
             capabilities: logical
     *-memory
          description: System Memory
          physical id: 36
          slot: System board or motherboard
          size: 1GiB
        *-bank:0
             description: DIMM DDR Synchronous [empty]
             physical id: 0
             slot: DIMM_2A
             width: 64 bits
        *-bank:1
             description: DIMM DDR Synchronous [empty]
             physical id: 1
             slot: DIMM_2B
             width: 64 bits
        *-bank:2
             description: DIMM DDR Synchronous 400 MHz (2.5 ns)
             physical id: 2
             slot: DIMM_1A
             size: 512MiB
             width: 64 bits
             clock: 400MHz (2.5ns)

.
.
.

cpu와 메모리등 보드자체의 제조사, 정확한 뱅크정보가 나온다.

lshw를 계속 사용하려면
cp lshw /usr/local/sbin

처럼 복사해서 사용한다.

(주)웹호스트 2008년 7월31일 작성

Prev 서버에 접근하는 ip들 보기
Next 하드디스크의 상태보기

Leave a comment