2swan

[Linux] 하드웨어 정보 확인 본문

Linux

[Linux] 하드웨어 정보 확인

2swan 2025. 3. 21. 15:47

하드웨어 제조사 벤더

# dmidecode -s system-manufacturer

 

 

하드웨어 장비 모델명

# dmidecode -s system-product-name

# dmidecode | grep Name

# dmidecode | grep Prod

# dmidecode -t system

 

시리얼 넘버 확인

# dmidecode -s system-serial-number

 

OS 버전

# cat /etc/*-release | uniq

 

CPU 정보

# cat /proc/cpuinfo

# cat /proc/cpuinfo | grep 'model' | tail -1

# grep ^'model name' /proc/cpuinfo : cpu 모델명

 

물리적 CPU 수량

# grep 'physical id' /proc/cpuinfo | sort | uniq | wc -l

# grep 'physical id' /proc/cpuinfo | sort -u | wc -l

 

 

CPU당 물리 Core 수량

# grep "cpu cores" /proc/cpuinfo | tail -1

# grep 'cpu cores' /proc/cpuinfo | uniq

논리적 CPU 전체 수량 ( CPU * Core )

# grep ^processor /proc/cpuinfo | wc -l

# cat /proc/cpuinfo | grep processor | wc -l

 

CPU 코어 수

# grep -c processor /proc/cpuinfo

 

물리적 메모리 수량, 용량

# dmidecode | grep 'Size.*MB'

 

메모리 정보 확인

# cat /proc/meminfo

 

메모리 확인

# free -m

# free -h

 

물리 메모리 갯수 확인

# dmidecode -t 17 | egrep 'Memory|Size' | egrep -v 'No|Device'

# dmidecode | grep 'Size.*MB'

 

하드디스크 수량, 용량 요약

# fdisk -l | grep Disk

 

 

 

번외)

Solaris

# prtconf -vp | grep banner-name

 

AIX

# prtconf | grep Model

 

HP-UX

# model

 

Windows Server

# wmic computersystem get model, name, manufacturer, systemtype

 

 

'Linux' 카테고리의 다른 글

[Linux] telnet 설치  (0) 2025.04.07
[Linux] 파일 찾기 명령어  (0) 2025.03.24
[Linux] 쉘에 절대경로 표시  (0) 2025.02.26
[Linux] 사용자 관리(사용자 추가 및 삭제)  (0) 2025.02.26
df / du 명령어 차이점  (0) 2025.02.26