@contract()
def get_host_cpu_time():
    with open('/proc/stat', 'r') as f:
        values = [float(x) for x in f.readline().split()[1:8]]
        return sum(values), sum(values[0:3])
Get the total and busy CPU time of the host.
dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/collector.py/get_host_cpu_time