일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- MSSQL
- ssh
- JavaScript
- s3
- ChatGPT
- elasticsearch
- docker
- build
- mariadb
- MySQL
- API
- Linux
- Python
- nodejs
- Windows
- AWS
- 설정
- 바보
- 구글
- Ai
- sample
- 유니티
- 영어
- JS
- unity
- app
- React
- Kibana
- error
- Today
- Total
목록cpu (2)
가끔 보자, 하늘.
CentOS 기준.. 매번 사용하지 않는 것들이라 기록해둔다. OS 버전 확인cat /etc/redhat-release(el7 ~) or cat /etc/issue(~el6) 커널 버전 확인cat /proc/version Kernel bits 확인getconf WORD_BIT cpu 정보 확인 cat /proc/cpuinfo실 CPU 수 : grep ^processor /proc/cpuinfo | wc -lCPU당 코어 수 : grep 'cpu cores' /proc/cpuinfo | tail -1 메모리 cat /proc/meminfo 디스크 용량 확인 df -h
없으면 인스톨.. apt-get install mpstat 기본으로 mpstat를 입력하면 아래와 같은 결과가 출력됨. sudo mpstat Linux 3.13.0-45-generic (rs2mapp1) 04/10/2015 _x86_64_ (2 CPU) CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idleall 0.02 0.01 0.00 0.02 0.00 0.00 0.00 0.00 0.00 99.95 이걸 코더별로 사용률을 보려면 아래와 같이 실행하면 된다. sudo mpstat -P ALL 01:54:52 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle01:54:5..