1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-09-16 04:47:18 +00:00
Dotfiles/.config/polybar/polybar-scripts/system-nvidia-smi
2020-07-27 07:59:00 +03:00
..
README.md add all dotfiles 2020-07-27 07:59:00 +03:00
system-nvidia-smi.sh add all dotfiles 2020-07-27 07:59:00 +03:00

Script: system-nvidia-smi

A script that shows the NVIDIA GPU utilization.

Dependencies

  • nvidia-smi

Configuration

There are several --query-gpu= values. Use nvidia-smi --help-query-gpu for a complete list and description. The most notable are fan.speed, memory.used, memory.total, driver_version, power.draw, pstate.

If you don't need custom labelling use instead: nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader

Module

[module/system-nvidia-smi]
type = custom/script
exec = ~/polybar-scripts/system-nvidia-smi.sh
interval = 10