Skip to content

Instantly share code, notes, and snippets.

@butsugiri
Created August 19, 2022 06:50
Show Gist options
  • Save butsugiri/2dd2b59f4105c41ca7f6c104dffc0cba to your computer and use it in GitHub Desktop.
Save butsugiri/2dd2b59f4105c41ca7f6c104dffc0cba to your computer and use it in GitHub Desktop.
DCGM_FI_DEV_FB_USED{gpu=~"0|2|1|3",instance="$hostname:9400"} / (DCGM_FI_DEV_FB_USED{gpu=~"0|2|1|3",instance="$hostname:9400"} + DCGM_FI_DEV_FB_FREE{gpu=~"0|2|1|3",instance="$hostname:9400"}) * 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment