Skip to content

Instantly share code, notes, and snippets.

@anrajme
Created January 30, 2020 01:28
Show Gist options
  • Save anrajme/75218316ab66dda884104735dc9d360f to your computer and use it in GitHub Desktop.
Save anrajme/75218316ab66dda884104735dc9d360f to your computer and use it in GitHub Desktop.
Load Average Per CPU
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