summaryrefslogtreecommitdiffstats
path: root/docs/nvidia-extension.md
blob: 196d47367db80356699659fd71bb1371126c1b81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# gotop NVidia extension

Provides NVidia GPU data to gotop

To enable it, either run gotop with the `--nvidia` flag, or add the line `nvidia=true` to `gotop.config`.

## Dependencies

- [nvidia-smi](https://wiki.archlinux.org/index.php/NVIDIA/Tips_and_tricks#nvidia-smi)

## Configuration

The refresh rate of NVidia data is controlled by the `nvidia-refresh` parameter in the configuration file.  This is a Go `time.Duration` format, for example `2s`, `500ms`, `1m`, etc.

## Alternatives to test

https://github.com/mindprince/gonvml