사용자 도구

사이트 도구


system_monitoring

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
system_monitoring [2017/04/05 06:44] – [Glances] rex8312system_monitoring [2024/05/08 13:28] (현재) rex8312
줄 1: 줄 1:
 ====== System monitoring tool ====== ====== System monitoring tool ======
 +
 +==== 온도 ====
 +
 +<code bash>
 +sudo apt install lm-sensors
 +
 +watch -n 2 sensors
 +</code>
 +
 +==== bottom ====
 +
 +<code bash>
 +$ cargo install bottom
 +$ . ~/.bashrc
 +$ btm
 +</code>
 +
 +
 +
 +==== bpytop ====
 +
 +  pip install bpytop
  
 ==== Htop ==== ==== Htop ====
줄 11: 줄 33:
   # gpu 모니터링 (print 함수 사용하도록 수정된 버전)   # gpu 모니터링 (print 함수 사용하도록 수정된 버전)
   sudo pip install git+https://github.com/jonsafari/nvidia-ml-py.git   sudo pip install git+https://github.com/jonsafari/nvidia-ml-py.git
 +
 +
 +  sudo apt-get install -y python-pip; sudo pip install glances[gpu]
      
  
 서비스 등록 서비스 등록
  
-  vi /etc/systemd/system/glances.service+  sudo vi /etc/systemd/system/glances.service
      
   /// glances.service 에 입력   /// glances.service 에 입력
줄 31: 줄 56:
   sudo systemctl enable glances.service   sudo systemctl enable glances.service
   sudo systemctl start glances.service   sudo systemctl start glances.service
 +  
 +  # 확인
 +  sudo systemctl -a | grep glances
 +
 +
 +  # 접속
 +  glances -c {ip address}  # 기본 포트는 61209
 +  
 +  glances --browser
 +  # master 설정은 ~/.config/glances/glances.conf
 +  
 +  ///
 +  [serverlist]
 +  # Define the static servers list
 +  server_1_name=n1
 +  server_1_port=61209
 +  server_2_name=n2
 +  server_2_port=61209
 +  ///
 +
  
   * https://github.com/nicolargo/glances/wiki/Start-Glances-through-Systemd   * https://github.com/nicolargo/glances/wiki/Start-Glances-through-Systemd
 +===== Network =====
 +
 +<code bash>
 +sudo apt install bmon
 +bmon
 +</code>
 +
 ===== Ganglia ===== ===== Ganglia =====
  
줄 54: 줄 106:
  
   * https://github.com/ganglia/gmond_python_modules/tree/master/gpu/nvidia   * https://github.com/ganglia/gmond_python_modules/tree/master/gpu/nvidia
 +  * https://github.com/wookayin/gpustat
 +
 +
 +===== GPU =====
 +
 +  * nvidia-smi
 +
 +<code bash>
 +nvidia-smi dmon
 +watch --interval 1 nvidia-smi -q -d MEMORY,TEMPERATURE,COMPUTE
 +</code>
 +
 +  * [[https://github.com/Syllo/nvtop|nvtop]]
 +
 +===== IO =====
 +
 +  * iotop
 +===== 참고 =====
 +
 +  * [[https://injae-kim.github.io/dev/2020/07/09/how-to-check-single-server-load-average.html?utm_source=gaerae.com&utm_campaign=%EA%B0%9C%EB%B0%9C%EC%9E%90%EC%8A%A4%EB%9F%BD%EB%8B%A4&utm_medium=social|서버에 걸리는 부하, 추측하지 말고 계측하자]]
 +
 +{{tag>htop monitoring 모니터링 linux }}
system_monitoring.1491374657.txt.gz · 마지막으로 수정됨: 2024/03/23 02:37 (바깥 편집)