system_monitoring
목차
System monitoring tool
온도
sudo apt install lm-sensors watch -n 2 sensors
bottom
$ cargo install bottom $ . ~/.bashrc $ btm
bpytop
pip install bpytop
Htop
sudo apt install htop
Glances
sudo pip install glances # gpu 모니터링 (print 함수 사용하도록 수정된 버전) sudo pip install git+https://github.com/jonsafari/nvidia-ml-py.git
sudo apt-get install -y python-pip; sudo pip install glances[gpu]
서비스 등록
sudo vi /etc/systemd/system/glances.service /// glances.service 에 입력 [Unit] Description=Glances [Service] ExecStart=/usr/local/bin/glances -s Restart=on-abort [Install] WantedBy=multi-user.target /// sudo systemctl enable 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 ///
Network
sudo apt install bmon bmon
Ganglia
서버 설치
sudo apt-get install -y ganglia-monitor rrdtool gmetad ganglia-webfrontend sudo cp /etc/ganglia-webfrontend/apache.conf /etc/apache2/sites-enabled/ganglia.conf # 아파치 재시작 sudo service apache2 restart
클라이언트 설치
sudo apt-get install -y ganglia-monitor
GPU 모니터링
GPU
IO
- iotop
참고
system_monitoring.txt · 마지막으로 수정됨: 2024/05/08 13:28 저자 rex8312