Created
October 15, 2019 13:53
-
-
Save cherepanov/15373286b6d832a660230c0268036be5 to your computer and use it in GitHub Desktop.
cpu status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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