Infra engineering/Linux
Linux glances 사용법
내일도이렇게
2021. 6. 14. 18:07
glances
linux 터미널 및 웹 인터페이스를 제공하는 성능 모니터링 도구
( https://nicolargo.github.io/glances/ )
설치법
$ curl -L https://bit.ly/glances | /bin/bash
or
$ wget -O- https://bit.ly/glances | /bin/bash
or
$ pip install glances
실행
$ glances
위 그림과 같은 결과를 얻을 수 있습니다.
- hostname
- os종류, 커널버전
- ip 주소
- cpu 부하(user,system,idle,iowait)
- loadavg
- 메모리 (total,used,free,buffers,cached)
- swap 사용량
- 네트워크
- 디스크 I/O
- 프로세스( 메모리,CPU,IO등 핵심 정보 )
- 로그 : 어떠한 문제가 있다면 하단에 로그가 나타남
glances -w
웹으로도 모니터링이 가능합니다.
(http://localhost:61208)
더 자세한 내용은 아래 링크에서 확인 할 수 있습니다.
https://glances.readthedocs.io/en/latest/index.html
Reference
https://www.linux.co.kr/home2/board/subbs/board.php?bo_table=lecture&wr_id=1806