ChristophJud / wgpu

A command line utility to show who is using which GPU and what they are doing - similar to w.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wgpu

A command line utility to show who is using which GPU and what they are doing - similar to w.

Installation

pip install git+https://github.com/spiess/wgpu.git

Usage

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

About

A command line utility to show who is using which GPU and what they are doing - similar to w.


Languages

Language:C 49.6%Language:Python 44.3%Language:Makefile 6.1%