Skip to content

Instantly share code, notes, and snippets.

@drvenabili
Last active August 23, 2021 09:24
Show Gist options
  • Save drvenabili/f6a983d5afbb69a33e7353bb1d71f339 to your computer and use it in GitHub Desktop.
Save drvenabili/f6a983d5afbb69a33e7353bb1d71f339 to your computer and use it in GitHub Desktop.
# à mettre dans /usr/local/bin
watch -n .5 'cat /proc/cpuinfo | grep "MHz" && echo && sensors | grep "Package" && echo && cat /proc/acpi/ibm/fan | head -n 3 | tail -n 2 && echo "" && cat /sys/devices/virtual/powercap/intel-rapl-mmio/intel-rapl-mmio:0/constraint_0_power_limit_uw && echo && cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor && echo && nvidia-smi'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment