Ejemplo n.º 1
0
def get_mountpoints(docker_root):
    mountpoints = {}
    for metric in CGROUP_METRICS:
        mountpoints[metric["cgroup"]] = find_cgroup(metric["cgroup"],
                                                    docker_root)
    return mountpoints
Ejemplo n.º 2
0
def get_mountpoints(docker_root):
    mountpoints = {}
    for metric in CGROUP_METRICS:
        mountpoints[metric["cgroup"]] = find_cgroup(metric["cgroup"], docker_root)
    return mountpoints