How can I get GPU usage when using amdgpu_top -d? #59
Answered
by
Umio-Yasuno
Samueru-sama
asked this question in
Q&A
-
I'm trying to build a polybar script that displays the current gpu usage plus vram usage. To get current/total vram it as simple as this: amdgpu_top -d | awk 'FNR == 32 {printf "%0.1f/%0.0fGiB\n", $4/1024, $7/1024; exit}' I'm missing a way to get the GPU usage in percentage, even using amdgpu_top -J -d doesn't print it. Any help? |
Beta Was this translation helpful? Give feedback.
Answered by
Umio-Yasuno
Dec 5, 2023
Replies: 2 comments 6 replies
-
Output:
|
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Samueru-sama
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output: