Skip to content

Instantly share code, notes, and snippets.

@salaros
Last active January 19, 2020 19:47
Show Gist options
  • Save salaros/b78e5ad60d690fec5082d7b3d5e472dd to your computer and use it in GitHub Desktop.
Save salaros/b78e5ad60d690fec5082d7b3d5e472dd to your computer and use it in GitHub Desktop.
watch -n3 grep -i -e 'mhz' -e 'ghz' /proc/cpuinfo
watch -n3 "egrep -i 'mhz|ghz' /proc/cpuinfo"
watch -n 1 "echo '%CPU %MEM PID COMMAND' && ps hgaxo %cpu,%mem,pid,comm | sort -nrk1 | head -n 20"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment