Created
January 30, 2020 01:28
-
-
Save anrajme/75218316ab66dda884104735dc9d360f to your computer and use it in GitHub Desktop.
Load Average Per CPU
This file contains hidden or 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
python3 -c "import os;import multiprocessing;avg=max(os.getloadavg());cpus=multiprocessing.cpu_count();print(avg/cpus)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment