A command line utility to show who is using which GPU and what they are doing - similar to w.
pip install git+https://github.com/spiess/wgpu.git
If installed in a virtual environment:
wgpu
Otherwise:
python3 -m wgpu
To highlight a specific GPU (e.g. GPU with ID 1):
wgpu --gpu 1
To highlight GPUs and processes used by a specific user (e.g. florian):
wgpu --username florian
If used with watch
use --color
to enable highlighting:
watch --color -n 1 wgpu --user florian