Created
April 15, 2017 22:01
-
-
Save icetee/c33e3c8f5232c401936e1225fcec46fa to your computer and use it in GitHub Desktop.
Get CPU usage macOS stream
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
top -o cpu | grep --line-buffered "CPU usage:" | cut -d' ' -f3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment