ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • linux 시스템의 하드웨어 사양 확인하기
    2013. 12. 14. 2 comments

    Windows에서는 하드웨어 사양을 확인하는데 CPU-Z라는 프로그램만(심지어 무료) 있으면 CPU부터 시작하여 마더보드와 그래픽카드까지 모두 확인할 수 있다. 

    하지만, linux에서는 CPU-Z와 같은 프로그램이 없기 때문에 하드웨어 사양을 확인할 수 있는 방안을 소개한다.



     lshw, lspci


    lshw 명령어를 통해서 하드웨어 정보를 알 수 있다. 아래는 가상화 환경에서 실행한 하드웨어 정보이다.


    morenice@ubuntu-morenice:~$ sudo lshw

    [sudo] password for morenice:

    ubuntu-morenice

        description: Computer

        product: VirtualBox ()

        vendor: innotek GmbH

        version: 1.2

        serial: 0

        width: 64 bits

        capabilities: smbios-2.5 dmi-2.5 vsyscall32

        configuration: family=Virtual Machine uuid=1907C0A4-1A38-464C-8E13-68916F014B34

      *-core

           description: Motherboard

           product: VirtualBox

           vendor: Oracle Corporation

           physical id: 0

           version: 1.2

           serial: 0

         *-firmware

              description: BIOS

              vendor: innotek GmbH

              physical id: 0

              version: VirtualBox

              date: 12/01/2006

              size: 128KiB

              capabilities: isa pci cdboot bootselect int9keyboard int10video acpi

         *-memory

              description: System memory

              physical id: 1

              size: 2003MiB

         *-cpu

              product: AMD Phenom(tm) II X4 925 Processor

              vendor: Advanced Micro Devices [AMD]

              physical id: 2

              bus info: cpu@0

              width: 64 bits

              capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx fxsr_opt rdtscp x86-64 3dnowext 3dnow rep_good nopl extd_apicid pni lahf_lm cmp_legacy cr8_legacy

         *-pci

              description: Host bridge

              product: 440FX - 82441FX PMC [Natoma]

              vendor: Intel Corporation

              physical id: 100

              bus info: pci@0000:00:00.0

              version: 02

              width: 32 bits

              clock: 33MHz

            *-isa

                 description: ISA bridge

                 product: 82371SB PIIX3 ISA [Natoma/Triton II]

                 vendor: Intel Corporation

                 physical id: 1

                 bus info: pci@0000:00:01.0

                 version: 00

                 width: 32 bits

                 clock: 33MHz

                 capabilities: isa bus_master

                 configuration: latency=0

            *-ide

                 description: IDE interface

                 product: 82371AB/EB/MB PIIX4 IDE

                 vendor: Intel Corporation

                 physical id: 1.1

                 bus info: pci@0000:00:01.1

                 version: 01

                 width: 32 bits

                 clock: 33MHz

                 capabilities: ide bus_master

                 configuration: driver=ata_piix latency=64

                 resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:d000(size=16)

            *-display UNCLAIMED

                 description: VGA compatible controller

                 product: VirtualBox Graphics Adapter

                 vendor: InnoTek Systemberatung GmbH

                 physical id: 2

                 bus info: pci@0000:00:02.0

                 version: 00

                 width: 32 bits

                 clock: 33MHz

                 capabilities: vga_controller bus_master

                 configuration: latency=0

                 resources: memory:e0000000-e1ffffff

            *-network

                 description: Ethernet interface

                 product: 82540EM Gigabit Ethernet Controller

                 vendor: Intel Corporation

                 physical id: 3

                 bus info: pci@0000:00:03.0

                 logical name: eth0

                 version: 02

                 serial: 08:00:27:b9:02:f7

                 size: 1Gbit/s

                 capacity: 1Gbit/s

                 width: 32 bits

                 clock: 66MHz

                 capabilities: pm pcix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation

                 configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=192.168.10.104 latency=64 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s

                 resources: irq:19 memory:f0000000-f001ffff ioport:d010(size=8)

            *-generic UNCLAIMED

                 description: System peripheral

                 product: VirtualBox Guest Service

                 vendor: InnoTek Systemberatung GmbH

                 physical id: 4

                 bus info: pci@0000:00:04.0

                 version: 00

                 width: 32 bits

                 clock: 33MHz

                 capabilities: bus_master

                 configuration: latency=0

                 resources: ioport:d020(size=32) memory:f0400000-f07fffff memory:f0800000-f0803fff

            *-multimedia

                 description: Multimedia audio controller

                 product: 82801AA AC'97 Audio Controller

                 vendor: Intel Corporation

                 physical id: 5

                 bus info: pci@0000:00:05.0

                 version: 01

                 width: 32 bits

                 clock: 33MHz

                 capabilities: bus_master

                 configuration: driver=snd_intel8x0 latency=64

                 resources: irq:21 ioport:d100(size=256) ioport:d200(size=64)

            *-usb

                 description: USB controller

                 product: KeyLargo/Intrepid USB

                 vendor: Apple Inc.

                 physical id: 6

                 bus info: pci@0000:00:06.0

                 version: 00

                 width: 32 bits

                 clock: 33MHz

                 capabilities: ohci bus_master cap_list

                 configuration: driver=ohci_hcd latency=64

                 resources: irq:22 memory:f0804000-f0804fff

            *-bridge UNCLAIMED

                 description: Bridge

                 product: 82371AB/EB/MB PIIX4 ACPI

                 vendor: Intel Corporation

                 physical id: 7

                 bus info: pci@0000:00:07.0

                 version: 08

                 width: 32 bits

                 clock: 33MHz

                 capabilities: bridge bus_master

                 configuration: latency=0

            *-storage

                 description: SATA controller

                 product: 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]

                 vendor: Intel Corporation

                 physical id: d

                 bus info: pci@0000:00:0d.0

                 version: 02

                 width: 32 bits

                 clock: 33MHz

                 capabilities: storage pm ahci_1.0 bus_master cap_list

                 configuration: driver=ahci latency=64

                 resources: irq:21 ioport:d240(size=8) ioport:d250(size=8) ioport:d260(size=16) memory:f0806000-f0807fff

         *-scsi:0

              physical id: 3

              logical name: scsi1

              capabilities: emulated

            *-cdrom

                 description: DVD reader

                 physical id: 0.0.0

                 bus info: scsi@1:0.0.0

                 logical name: /dev/cdrom

                 logical name: /dev/dvd

                 logical name: /dev/sr0

                 capabilities: audio dvd

                 configuration: status=nodisc

         *-scsi:1

              physical id: 4

              logical name: scsi2

              capabilities: emulated

            *-disk

                 description: ATA Disk

                 product: VBOX HARDDISK

                 physical id: 0.0.0

                 bus info: scsi@2:0.0.0

                 logical name: /dev/sda

                 version: 1.0

                 serial: VB13891858-7f7d95f6

                 size: 15GiB (16GB)

                 capabilities: partitioned partitioned:dos

                 configuration: ansiversion=5 sectorsize=512 signature=000ed6b6

               *-volume:0

                    description: Linux filesystem partition

                    vendor: Linux

                    physical id: 1

                    bus info: scsi@2:0.0.0,1

                    logical name: /dev/sda1

                    logical name: /boot

                    version: 1.0

                    serial: 556bedfb-3a39-41a8-b4c8-7d5f120c1387

                    size: 243MiB

                    capacity: 243MiB

                    capabilities: primary bootable ext2 initialized

                    configuration: filesystem=ext2 modified=2013-12-10 00:47:39 mount.fstype=ext2 mount.options=rw,relatime,errors=continue state=mounted

               *-volume:1

                    description: Extended partition

                    physical id: 2

                    bus info: scsi@2:0.0.0,2

                    logical name: /dev/sda2

                    size: 14GiB

                    capacity: 14GiB

                    capabilities: primary extended partitioned partitioned:extended

                  *-logicalvolume

                       description: Linux LVM Physical Volume partition

                       physical id: 5

                       logical name: /dev/sda5

                       serial: 9s490x-RfNg-jklG-tFjw-cu89-1AcY-jKHa06

                       size: 14GiB

                       capacity: 14GiB

                       capabilities: multi lvm2


    CPU, 메모리,메인보드와 그래픽카드까지 현재 시스템의 하드웨어 정보를 확인할 수 있다.


    'lspci' 명령으로 linux에서 인식된 하드웨어 정보와 타입을 간단히 체크도 가능하다.


    morenice@ubuntu-morenice:~$ lspci

    00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)

    00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]

    00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)

    00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter

    00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)

    00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service

    00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)

    00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB

    00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)

    00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)




     See also

    • CPU Detail Information: cat /proc/cpuinfo
    • Memory Detail information : sudo dmidecode




    반응형

    댓글 2

Designed by Tistory.