Skip to content

Instantly share code, notes, and snippets.

@johananl
Created February 21, 2024 13:26
Show Gist options
  • Save johananl/2782ab905a5044ac912a767c6186cfb8 to your computer and use it in GitHub Desktop.
Save johananl/2782ab905a5044ac912a767c6186cfb8 to your computer and use it in GitHub Desktop.
Linux CPU monitoring

Linux CPU monitoring

watch -n 0.5 "cat /proc/cpuinfo | grep MHz && echo && sensors"
watch cat /sys/devices/system/cpu/cpu{0..7}/cpufreq/cpuinfo_max_freq
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
watch -n 0.5 sudo tlp-stat -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment