Skip to content

Instantly share code, notes, and snippets.

@jldeon
Last active October 24, 2020 23:45
Show Gist options
  • Save jldeon/023099556dcb358c8d1c82e85120975a to your computer and use it in GitHub Desktop.
Save jldeon/023099556dcb358c8d1c82e85120975a to your computer and use it in GitHub Desktop.
# Install stress-ng via app center or apt
stress-ng --matrix 0 --vm 1 --vm-bytes 90% --vm-method all --verify --timeout 4h
# Check temps with:
paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/'
# Put in shell script, call with watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment