develog

[Linux] 시스템 정보 확인 본문

OS & Shell/Linux

[Linux] 시스템 정보 확인

냐옴 2017. 10. 18. 11:52

Linux 종류

cat /etc/*-release | uniq


커널 버전

uname -r


cpu 정보

CPU 정보
cat /proc/cpuinfo

물리 CPU 개수
grep 'physical id' /proc/cpuinfo | sort -u | wc -l

CPU당 물리 코어 개수
grep 'cpu cores' /proc/cpuinfo | tail -1

CPU 코어 전체 개수
grep -c processor /proc/cpuinfo


memory 정보

cat /proc/meminfo | grep MemTotal 


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

[bash] find tomcat & exec  (0) 2017.11.23
[Linux] 명령어 같이 실행  (0) 2017.11.23
[Linux] rename, 파일명 일괄 변경  (0) 2017.07.25
[Windows10] Ubuntu locale euc-kr 설치  (0) 2017.06.05
[Linux] vi color scheme  (0) 2017.05.31
Comments