summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/nvidia_info
blob: 1b3121d8410024ac85e96afaf174489e834ad1f2 (plain)
1
2
3
#!/bin/sh

echo "$(nvidia-smi --query-gpu=utilization.gpu,utilization.memory --format=csv,noheader,nounits | sed 's/,//' | awk '{print $1"%", $2"%"}')"