Get load at a moment in time or getloadavg() for a smaller time period in Python in Linux (CentOS),print(int(open('/proc/loadavg').next().split()[3].split('/')[0]))