def METHOD_NAME(self, fsname, poolname):
    cmd = ['mmlspool', fsname]
    out_bytes = subprocess.check_output(cmd)
    out_list = out_bytes.decode().strip().split('\n')
    for row in out_list:
        if row.strip().startswith(poolname):
            ele = row.split()
            return 100 - ((int(ele[7]) / int(ele[6])) * 100)
    raise AssertionError("Invalid pool name" % poolname)