문서 편집

Ubuntu Hardware Info

우분투 서버에서 하드웨어 정보를 확인하는 방법을 알아본다.

우분투 버전

cat /etc/lsb-release
    혹은
cat /etc/*-release
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.4 LTS
Release:        14.04
Codename:       trusty

요약정보

lshw -short
H/W path       Device     Class          Description
====================================================
                          system         To Be Filled By O.E.M. (To Be Filled By
/0                        bus            B85M Pro4
/0/0                      memory         64KiB BIOS
/0/b                      memory         256KiB L1 cache
/0/c                      processor      Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40G
/0/c/d                    memory         1MiB L2 cache
/0/c/e                    memory         8MiB L3 cache
/0/f                      memory         16GiB System Memory
/0/f/0                    memory         8GiB DIMM DDR3 Synchronous 1600 MHz (0.
/0/f/1                    memory         DIMM [empty]
/0/f/2                    memory         8GiB DIMM DDR3 Synchronous 1600 MHz (0.
/0/f/3                    memory         DIMM [empty]
/0/100                    bridge         Xeon E3-1200 v3 Processor DRAM Controll
/0/100/14                 bus            8 Series/C220 Series Chipset Family USB
/0/100/16                 communication  8 Series/C220 Series Chipset Family MEI
/0/100/19      eth0       network        Ethernet Connection I217-V
/0/100/1a                 bus            8 Series/C220 Series Chipset Family USB
/0/100/1c                 bridge         8 Series/C220 Series Chipset Family PCI
/0/100/1c.3               bridge         82801 PCI Bridge
/0/100/1c.3/0             bridge         ASM1083/1085 PCIe to PCI Bridge
/0/100/1d                 bus            8 Series/C220 Series Chipset Family USB
/0/100/1f                 bridge         B85 Express LPC Controller
/0/100/1f.2               storage        8 Series/C220 Series Chipset Family 6-p
/0/100/1f.3               bus            8 Series/C220 Series Chipset Family SMB
/0/1           scsi0      storage
/0/1/0.0.0     /dev/sda   disk           128GB Samsung SSD 840
/0/1/0.0.0/1   /dev/sda1  volume         32MiB BIOS Boot partition
/0/1/0.0.0/2   /dev/sda2  volume         244MiB System partition
/0/1/0.0.0/3   /dev/sda3  volume         118GiB LVM Physical Volume
/0/2           scsi2      storage
/0/2/0.0.0     /dev/sdb   disk           2TB WDC WD20EZRX-00D
/0/2/0.0.0/1   /dev/sdb1  volume         1863GiB EXT4 volume

CPU/Memory

lshw -businfo -C cpu
cat /proc/cpuinfo
cat /proc/meminfo
free -m
top

top 명령어는 실시간으로 CPU상태와 메모리 상태를 같이 표시를 해주는데 h키를 누르면 자세한 사용법을 확인할 수 있다. (예를 들어 <, > 키를 누르면 이전/다음 페이지로 이동)

PCI 장치

lspci

USB 장치

lsusb

HDD 정보

lshw -businfo -C disk
 du -h -d 1                   #   du (disk usage) 폴더 별 용량보기 (서브폴더 1단계)
df
fdisk -l

메인보드

sudo dmidecode --string baseboard-product-name
sudo dmidecode | grep -A4 'Base Board'

랜카드 설정정보

ifconfig
Intel(R) Core(TM) i5-3570K CPU @ 3.40GH
Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz

연결문서

토론

vln
CC Attribution-Noncommercial-Share Alike 4.0 International 별도로 명시하지 않을 경우, 이 페이지의 내용은 다음 라이선스에 따라 사용할 수 있습니다: CC Attribution-Noncommercial-Share Alike 4.0 International
3.7 KB tech/ubuntu_hardware_info.txt · 마지막으로 수정됨 2018/11/28 01:16 저자 V_L V_L