728x90
작성 기준 OS : Centos 7.6 1810
CPU 정보 전체 정보 확인
#cat /proc/cpuinfo
간편 확인 ( 모델명, 물리 개수, 코어 개수 )
# grep "model name" /proc/cpuinfo | uniq; echo -n "phsical cpu : "; grep "physical id" /proc/cpuinfo | sort -u | wc -l; grep "cpu cores" /proc/cpuinfo | tail -1;
model name : Intel(R) Xeon(R) E-2224 CPU @ 3.40GHz
phsical cpu : 1
cpu cores : 4
메모리 용량 확인
# free -h
total used free shared buff/cache available
Mem: 62G 1.5G 55G 24M 5.8G 60G
Swap: 0B 0B 0B
+ 메모리 사용 현황 #cat /proc/meminfo
디스크 용량 확인 (보통 '/' 확인)
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 2.8T 6.7G 2.8T 1% /
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 32G 25M 32G 1% /run
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sda2 950M 138M 813M 15% /boot
/dev/sda1 952M 12M 941M 2% /boot/efi
tmpfs 6.3G 0 6.3G 0% /run/user/0
728x90
'server > linux' 카테고리의 다른 글
ubuntu20.04 VM instanse에서 netplan apply 오류 (0) | 2022.04.26 |
---|---|
shell 관련 문서 (0) | 2022.04.06 |
[우분투] Ubuntu 20.04 live-server 네트워크 설정 (0) | 2022.03.31 |
I/O error read-Only (0) | 2022.02.01 |
sudo 설정 파일 복구 방법 (0) | 2022.01.29 |