Skip to content

Single machine with one or multiple GPUs, record and visualize GPUs usage information.

Notifications You must be signed in to change notification settings

LebinDing749/GPUs-Usage-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GPU Usage Manager

Single machine with one or multiple GPUs, record and visualize GPUs usage information.

Get Start

Clone this project
mkdir gpu_usage
cd gpu_usage
git clone git@github.com:LebinDing749/GPUs-Usage-Manager.git
cd GPUs-Usage-Manager
Install dependencies
# a python environment is needed
pip install pynvml
pip install psutil
Run backstage
nohup python gpu_monitor.py &
Cat process
ps -u {user} -f
#or 
jobs
# if there is 'python gpu_monitor.py', the precess is ruuning

# kill the process
ps -u {user} -f
kill -9 {pid}

or
jobs
kill -9 %{jobs_id}

tip of kill all python command of a user

pkill -u {user} -f python

About

Single machine with one or multiple GPUs, record and visualize GPUs usage information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages