nvue.py
nvue is an alternate to nvidia-smi
command. It shows owner of each GPU process on all NVIDIA cards, and removes items such as FAN speed, etc.
nvue is based on pynvml
and you can custom it yourself.
nvue is written in Python and compatible with Python2 & Python3.
kill-orphan.sh
This script query and kill orphan processes on nvidia gpu.
other useful packages
pip install nvgpu
pip install gpustat
then:
nvl
or:
gpustat