'get info from /proc/loadavg'

def get_load(self, openr=open):

    loadavg = {}
    with openr('/proc/loadavg', 'r') as f:
        (onemin, fivemin, ftmin, tasks, procs) = f.read().rstrip().split()
    loadavg['1m'] = float(onemin)
    loadavg['5m'] = float(fivemin)
    loadavg['15m'] = float(ftmin)
    loadavg['tasks'] = tasks
    loadavg['processes'] = int(procs)
    return loadavg
