Skip to content

Instantly share code, notes, and snippets.

@cherepanov
Created October 15, 2019 13:53
Show Gist options
  • Save cherepanov/15373286b6d832a660230c0268036be5 to your computer and use it in GitHub Desktop.
Save cherepanov/15373286b6d832a660230c0268036be5 to your computer and use it in GitHub Desktop.
cpu status
grep "cpu MHz" /proc/cpuinfo | sed 's/-/ /g' | awk '{ print $4 '} | sed 's/\./ /' | awk '{ print $1 }' | tr '\n' ' '
sensors | grep Core | sed 's/-/ /g' | awk '{ print $3 '}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment