차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
tech:ubuntu_hardware_info [2012/02/20 10:49] 14.32.18.124tech:ubuntu_hardware_info [2022/09/06 00:55] (현재) V_L
줄 1: 줄 1:
 +{{tag>tech ubuntu hardware info 우분투 용량 정보}}
 +======Ubuntu Hardware Info======
 +우분투 서버에서 하드웨어 정보를 확인하는 방법을 알아본다.
 +
 +=====우분투 버전=====
 +
 +  cat /etc/lsb-release
 +      혹은
 +  cat /etc/*-release
 +
 +<file>
 +Distributor ID: Ubuntu
 +Description:    Ubuntu 14.04.4 LTS
 +Release:        14.04
 +Codename:       trusty
 +</file>
 +
 +===== 요약정보=====
 +
 +
 +  lshw -short
 +
 +
 +<file>
 +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/                   memory         1MiB L2 cache
 +/0/c/                   memory         8MiB L3 cache
 +/0/f                      memory         16GiB System Memory
 +/0/f/                   memory         8GiB DIMM DDR3 Synchronous 1600 MHz (0.
 +/0/f/                   memory         DIMM [empty]
 +/0/f/                   memory         8GiB DIMM DDR3 Synchronous 1600 MHz (0.
 +/0/f/                   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/            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/  /dev/sda1  volume         32MiB BIOS Boot partition
 +/0/1/0.0.0/  /dev/sda2  volume         244MiB System partition
 +/0/1/0.0.0/  /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/  /dev/sdb1  volume         1863GiB EXT4 volume
 +</file>
 +
 +===== CPU/Memory=====
 +
 +  lshw -businfo -C cpu
 +
 +
 +  cat /proc/cpuinfo
 +
 +
 +  cat /proc/meminfo
 +
 +  cat /proc/version
 +
 +  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
 +  
 +=====Check Kernel version=====
 +>  uname -s -r