Created
April 24, 2018 15:18
-
-
Save WalshyDev/23a37d03b1d74e6f92ea132a5f87e82b to your computer and use it in GitHub Desktop.
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
import psutil; | |
print(psutil.cpu_percent(interval=1)) | |
print(psutil.virtual_memory()) | |
print(psutil.swap_memory()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment