Skip to content

Instantly share code, notes, and snippets.

@nicolargo
Created April 2, 2024 11:25
Show Gist options
  • Save nicolargo/639fb23baaedf3c7ce29f4f9de88548b to your computer and use it in GitHub Desktop.
Save nicolargo/639fb23baaedf3c7ce29f4f9de88548b to your computer and use it in GitHub Desktop.
AMD stats
cat /sys/class/drm/card0/device/pp_od_clk_voltage
cat /sys/kernel/debug/dri/0/amdgpu_pm_info
cat /sys/class/drm/card0/device/gpu_busy_percent
cat /sys/class/drm/card0/device/pp_dpm_sclk
cat /sys/class/drm/card0/device/hwmon/hwmon*/temp1_input
cat /sys/class/drm/card0/device/pp_dpm_mclk
cat /sys/class/drm/card0/device/mem_info_vram_used
cat /sys/class/drm/card0/device/mem_info_vram_total
@nicolargo
Copy link
Author

Thanks @mlan !

@nicolargo
Copy link
Author

@mlan can you copy paste the result of:

ls -alF /sys/class/drm/card0/device/hwmon/

Thanks again !

@mlan
Copy link

mlan commented Apr 8, 2024

root# ls -alF /sys/class/drm/card0/device/hwmon/
total 0
drwxr-xr-x 3 root root 0 Mar 24 10:02 ./
drwxr-xr-x 12 root root 0 Mar 24 10:02 ../
drwxr-xr-x 3 root root 0 Mar 24 10:02 hwmon0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment