A set of dstat plugins.
Dstat is a versatile replacement for vmstat, iostat, mpstat, netstat and ifstat.
This repository aims to provide some plugins for dstat to monitor even more things than its built-ins.
dstat_nvidia_gpu is a dstat plugin monitoring GPU usage, created by Vasilis Vryniotis.
sudo apt-get install dstat #install dstat
sudo pip install nvidia-ml-py #install Python NVIDIA Management Library
wget https://raw.githubusercontent.com/datumbox/dstat/master/plugins/dstat_nvidia_gpu.py
sudo mv dstat_nvidia_gpu.py /usr/share/dstat/ #move file to the plugins directory of dstat
dstat_nvidia_gpu
monitors GPU usage only. dstat_nvidia_gpu_mem
is a similar tool monitoring GPU memory usage.
sudo apt-get install dstat #install dstat
sudo pip install nvidia-ml-py #install Python NVIDIA Management Library
wget https://raw.githubusercontent.com/xplorld/dstat_plugins/master/dstat_nvidia_gpu_mem.py
sudo mv dstat_nvidia_gpu_mem.py /usr/share/dstat/ #move file to the plugins directory of dstat
dstat --nvidia-gpu-mem # see a single column of total GPU mem used
dstat --nvidia-gpu-mem -f # see per-device GPU mem used
dstat_pid_cpu
monitors CPU usage of a specified process by its pid.
sudo apt-get install dstat #install dstat
wget https://raw.githubusercontent.com/xplorld/dstat_plugins/master/dstat_pid_cpu.py
sudo mv dstat_pid_cpu.py /usr/share/dstat/ #move file to the plugins directory of dstat
# use pid specified in environment DSTAT_CPU_PID or DSTAT_PID
DSTAT_PID=3210 dstat --pid-cpu
rywang014 AT gmail DOT com