summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2021-03-05 16:28:53 -0600
committerSean E. Russell <ser@ser1.net>2021-03-05 16:28:53 -0600
commitff2e7e22356625a423218a57f2da4ccebe613541 (patch)
tree83f4d0ef2b35b718b065c05c8d3a091ac36c38d1 /docs
parentefcb0e9d2ab8a8f115b5368da03a75974898ed86 (diff)
Fixes cross-platform building (`func update` shadowing), removes gotop-builder trigger.
Diffstat (limited to 'docs')
-rw-r--r--docs/nvidia-extension.md17
1 files changed, 17 insertions, 0 deletions
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