# 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)
Raw data
{
"_id": null,
"home_page": "https://github.com/jonghwanhyeon/gpugpu",
"name": "gpugpu",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "gpu,usage,docker,container",
"author": "Jonghwan Hyeon",
"author_email": "jonghwanhyeon93@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/4a/4f/5be8138ad925e7e2131337844171f48d4a7e785c33cb19ea9c91018ffc62/gpugpu-1.0.2.tar.gz",
"platform": null,
"description": "# gpugpu\n\n![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)\n\nDo you want to know which docker containers are currently using GPUs? `gpugpu` shows current statistics of GPUs and memory usage by running containers.\n\n\n## Usage\nTo run it:\n```bash\n$ docker run \\\n --rm \\\n --tty \\\n --gpus=all \\\n --pid=host \\\n --env DOCKER_HOST=unix://tmp/docker.sock \\\n --volume /var/run/docker.sock:/tmp/docker.sock:ro \\\n ghcr.io/jonghwanhyeon/gpugpu\n```\n\n## Acknowledgments\nReporting formats are inspired by [`gpustat`](https://github.com/wookayin/gpustat)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "gpugpu shows current statistics of GPUs and memory usage by running containers",
"version": "1.0.2",
"split_keywords": [
"gpu",
"usage",
"docker",
"container"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d2278eeb26db06ba040dca2457f2cdec23724522586caf1bf466eafc986462ea",
"md5": "ed7781dce5dad7a541441ce573357b79",
"sha256": "8ced9a307f2ff4b2d522acf22f18c56dd2867f94d69c0893e98a583f87b889e9"
},
"downloads": -1,
"filename": "gpugpu-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ed7781dce5dad7a541441ce573357b79",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3643,
"upload_time": "2023-01-11T08:19:02",
"upload_time_iso_8601": "2023-01-11T08:19:02.011920Z",
"url": "https://files.pythonhosted.org/packages/d2/27/8eeb26db06ba040dca2457f2cdec23724522586caf1bf466eafc986462ea/gpugpu-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4a4f5be8138ad925e7e2131337844171f48d4a7e785c33cb19ea9c91018ffc62",
"md5": "f9705d0ab9432a80750f88e40fdfa6b6",
"sha256": "63bf71aa9f2bd1a9833e4e8a52ade104fedda4c741adee56dfe82dca32a23375"
},
"downloads": -1,
"filename": "gpugpu-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "f9705d0ab9432a80750f88e40fdfa6b6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3091,
"upload_time": "2023-01-11T08:19:03",
"upload_time_iso_8601": "2023-01-11T08:19:03.631084Z",
"url": "https://files.pythonhosted.org/packages/4a/4f/5be8138ad925e7e2131337844171f48d4a7e785c33cb19ea9c91018ffc62/gpugpu-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-11 08:19:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "jonghwanhyeon",
"github_project": "gpugpu",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "colored",
"specs": []
},
{
"name": "docker",
"specs": []
},
{
"name": "nvidia-ml-py3",
"specs": []
},
{
"name": "psutil",
"specs": []
}
],
"lcname": "gpugpu"
}