SHARE
TWEET

Untitled

a guest Jun 25th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import psutil
  2. psutil.cpu_percent()
  3.      
  4. >>> psutil.getloadavg()
  5.  (3.14, 3.89, 4.67)
  6.      
  7. >>> import os
  8. >>> os.getloadavg()
  9. (0.66, 0.69, 0.58)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top