centos 사양확인
페이지 정보
작성자 최고관리자 댓글 0건 조회 4,091회 작성일 24-01-04 10:18본문
Hostnamehostname
서버 정보dmidecode -t 1 grep Product awk '{print 4,$5}'
OS 정보cat /etc/redhat-release
uname -a
CPU 사양CPU 모델명 : cat /proc/cpuinfo grep "model name" uniq -c awk '{print $5 $6, $7,$8, $9, $10 $11}'
CPU당 물리 코어 수 : cat /proc/cpuinfo grep "cpu cores" tail -1 awk '{print $4}'
물리 CPU 수 : cat /proc/cpuinfo grep "physical id" sort -u wc -l
리눅스 전체 코어(프로세스)개수 : grep -c processor /proc/cpuinfo
메모리 사양메모리 개수 : dmidecode -t 17 grep Size grep -v No uniq -c awk '{print $3,$4 " X" $1 "ea"}'
총 메모리 사이즈 : cat /proc/meminfo grep MemTotal awk '{print $2}' 혹은 free -m
그 외 정보
Disk 별 용량 : fdisk -l grep 'Disk /dev' awk '{gsub(/:/," =");gsub(/,/,"");print substr($2,6),$3,$4,$5}' 혹은 df -h
STORAGE 정보 : lspci -v egrep 'SATASASRAIDSCSIAdapter' awk -F ': ' '{gsub(/,/,".");print $2}' tail -1
게이트웨이 정보 : netstat -rn egrep '^0.0.0.0' awk '{printf $2 " "}'
시리얼 정보 : dmidecode -t 1 grep 'Serial Number' awk '{print $3}'
커널 정보 : uname -a awk '{print $3,$4,$5}'
Bios 벤더사 정보 : dmidecode -s bios-vendor
Bios 버전 정보 : dmidecode -s bios-version
댓글목록
등록된 댓글이 없습니다.