develog

CPU 정보 본문

OS & Shell/Linux

CPU 정보

냐옴 2012. 4. 10. 15:28

CPU 정보

cat /proc/cpuinfo


가상 CPU 코어 수

grep -c processor /proc/cpuinfo


물리 CPU 코어 수

grep -c 'physical id' /proc/cpuinfo


물리 CPU 수

tail -n 20 /proc/cpuinfo | grep 'physical id' | awk '{print $4+1}'

'OS & Shell > Linux' 카테고리의 다른 글

[linux] 아파치 웹서버 동시접속 세션수 확인  (0) 2012.04.12
리눅스 명령어 요약정리  (0) 2012.04.12
램 용량 확인  (0) 2012.04.10
Linux 버전 확인  (0) 2012.04.10
리눅스 정리  (0) 2012.03.28
Comments