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
#!/usr/bin/env python3 | |
from hashlib import sha256 | |
from pickle import load, dump | |
from socket import gethostname | |
from time import time | |
def current_psi_dict(): | |
with open('/proc/pressure/cpu', 'r') as psifile: |
OlderNewer