https://github.com/dnlbauer/tmux-plugin-simple-gpu
Tmux plugin to show GPU usage in %
https://github.com/dnlbauer/tmux-plugin-simple-gpu
Last synced: about 1 year ago
JSON representation
Tmux plugin to show GPU usage in %
- Host: GitHub
- URL: https://github.com/dnlbauer/tmux-plugin-simple-gpu
- Owner: dnlbauer
- License: apache-2.0
- Created: 2020-04-01T09:44:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-15T04:27:54.000Z (about 4 years ago)
- Last Synced: 2025-04-14T11:06:49.528Z (about 1 year ago)
- Language: Shell
- Size: 104 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tmux-plugin-simple-gpu
tmux plugin showing GPU usage

Requirements
------------
Nvidia cuda toolkit must be installed (the plugin internally calls `nvidia-smi`)
Installation
------------
### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)
Add plugin to the list of TPM plugins in `.tmux.conf`:
```
set -g @plugin 'danijoo/tmux-plugin-simple-gpu'
```
Hit `prefix + I` to fetch the plugin and source it.
If format strings are added to `status-right`, they should now be visible.
Usage
-----
In order to see GPU usage via this tmux plugin, add the following command to your `.tmux.conf` file:
```
#{gpu}
```
Kudos
----------
I used https://github.com/pwittchen/tmux-plugin-ram as a base for this project.