Metadata-Version: 2.1
Name: gpugpu
Version: 1.0.0
Summary: gpugpu shows current statistics of GPUs and memory usage by running containers
Home-page: https://github.com/jonghwanhyeon/gpugpu
Author: Jonghwan Hyeon
Author-email: jonghwanhyeon93@gmail.com
License: MIT
Keywords: gpu,usage,docker,container
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Home Automation
Description-Content-Type: text/markdown

# gpugpu

![Screenshot: docker run --rm --gpus=all --pid=host --env DOCKER_HOST=unix://tmp/docker.sock --volume /var/run/docker.sock:/tmp/docker.sock:ro ghcr.io/jonghwanhyeon/gpugpu](screenshot.png)

Do you want to know which docker containers are currently using GPUs? `gpugpu` shows current statistics of GPUs and memory usage by running containers.


## Usage
To run it:
```bash
$ docker run \
        --rm \
        --tty \
        --gpus=all \
        --pid=host \
        --env DOCKER_HOST=unix://tmp/docker.sock \
        --volume /var/run/docker.sock:/tmp/docker.sock:ro \
        ghcr.io/jonghwanhyeon/gpugpu
```

## Acknowledgments
Reporting formats are inspired by [`gpustat`](https://github.com/wookayin/gpustat)
