Skip to content

Instantly share code, notes, and snippets.

@stylemistake
Created September 3, 2015 21:59
Show Gist options
  • Save stylemistake/894e031d7baef823aa90 to your computer and use it in GitHub Desktop.
Save stylemistake/894e031d7baef823aa90 to your computer and use it in GitHub Desktop.
Get temperature of Radeon card with Catalyst driver in celsius degrees.
#!/bin/bash
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
temp=`aticonfig --odgt 2>/dev/null | tail -1 | awk '{print $5}'`
echo ${temp%?}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment