From ff2e7e22356625a423218a57f2da4ccebe613541 Mon Sep 17 00:00:00 2001 From: "Sean E. Russell" Date: Fri, 5 Mar 2021 16:28:53 -0600 Subject: Fixes cross-platform building (`func update` shadowing), removes gotop-builder trigger. --- docs/nvidia-extension.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/nvidia-extension.md (limited to 'docs') diff --git a/docs/nvidia-extension.md b/docs/nvidia-extension.md new file mode 100644 index 0000000..196d473 --- /dev/null +++ b/docs/nvidia-extension.md @@ -0,0 +1,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 -- cgit v1.2.3