Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =
# throttle_io_serviced =
throttle_read_bps_device = TypedFile("blkio.throttle.read_bps_device", contenttype=DeviceThrottle, many=True)
throttle_read_iops_device = TypedFile("blkio.throttle.read_iops_device", contenttype=DeviceThrottle, many=True)
throttle_write_bps_device = TypedFile("blkio.throttle.write_bps_device ", contenttype=DeviceThrottle, many=True)
throttle_write_iops_device = TypedFile("blkio.throttle.write_iops_device ", contenttype=DeviceThrottle, many=True)
# time =
# time_recursive =
weight = IntegerFile("blkio.weight")
# weight_device =
blkio.time
blkio.time_recursive
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =
# throttle_io_serviced =
throttle_read_bps_device = TypedFile("blkio.throttle.read_bps_device", contenttype=DeviceThrottle, many=True)
throttle_read_iops_device = TypedFile("blkio.throttle.read_iops_device", contenttype=DeviceThrottle, many=True)
throttle_write_bps_device = TypedFile("blkio.throttle.write_bps_device ", contenttype=DeviceThrottle, many=True)
throttle_write_iops_device = TypedFile("blkio.throttle.write_iops_device ", contenttype=DeviceThrottle, many=True)
# time =
# time_recursive =
def __init__(self, filename, position, restype=None, splitchar=" "):
super(SplitValueFile, self).__init__(filename)
self.position = position
self.splitchar = splitchar
self.restype = restype
blkio.reset_stats
blkio.sectors
blkio.sectors_recursive
blkio.throttle.io_service_bytes
blkio.throttle.io_serviced
blkio.throttle.read_bps_device
blkio.throttle.read_iops_device
blkio.throttle.write_bps_device
blkio.throttle.write_iops_device
blkio.time
blkio.time_recursive
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
blkio.time_recursive
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =
# throttle_io_serviced =
throttle_read_bps_device = TypedFile("blkio.throttle.read_bps_device", contenttype=DeviceThrottle, many=True)
throttle_read_iops_device = TypedFile("blkio.throttle.read_iops_device", contenttype=DeviceThrottle, many=True)
throttle_write_bps_device = TypedFile("blkio.throttle.write_bps_device ", contenttype=DeviceThrottle, many=True)
throttle_write_iops_device = TypedFile("blkio.throttle.write_iops_device ", contenttype=DeviceThrottle, many=True)
# time =
# time_recursive =
weight = IntegerFile("blkio.weight")
blkio.throttle.io_serviced
blkio.throttle.read_bps_device
blkio.throttle.read_iops_device
blkio.throttle.write_bps_device
blkio.throttle.write_iops_device
blkio.time
blkio.time_recursive
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =
# throttle_io_serviced =
throttle_read_bps_device = TypedFile("blkio.throttle.read_bps_device", contenttype=DeviceThrottle, many=True)
blkio.throttle.write_iops_device
blkio.time
blkio.time_recursive
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =
# throttle_io_serviced =
throttle_read_bps_device = TypedFile("blkio.throttle.read_bps_device", contenttype=DeviceThrottle, many=True)
throttle_read_iops_device = TypedFile("blkio.throttle.read_iops_device", contenttype=DeviceThrottle, many=True)
throttle_write_bps_device = TypedFile("blkio.throttle.write_bps_device ", contenttype=DeviceThrottle, many=True)
throttle_write_iops_device = TypedFile("blkio.throttle.write_iops_device ", contenttype=DeviceThrottle, many=True)
# time =
blkio.sectors
blkio.sectors_recursive
blkio.throttle.io_service_bytes
blkio.throttle.io_serviced
blkio.throttle.read_bps_device
blkio.throttle.read_iops_device
blkio.throttle.write_bps_device
blkio.throttle.write_iops_device
blkio.time
blkio.time_recursive
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
blkio.throttle.io_service_bytes
blkio.throttle.io_serviced
blkio.throttle.read_bps_device
blkio.throttle.read_iops_device
blkio.throttle.write_bps_device
blkio.throttle.write_iops_device
blkio.time
blkio.time_recursive
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =
# throttle_io_serviced =
blkio.sectors_recursive
blkio.throttle.io_service_bytes
blkio.throttle.io_serviced
blkio.throttle.read_bps_device
blkio.throttle.read_iops_device
blkio.throttle.write_bps_device
blkio.throttle.write_iops_device
blkio.time
blkio.time_recursive
blkio.weight
blkio.weight_device
"""
io_merged = SplitValueFile("blkio.io_merged", 1, int)
io_merged_recursive = SplitValueFile("blkio.io_merged_recursive", 1, int)
io_queued = SplitValueFile("blkio.io_queued", 1, int)
io_queued_recursive = SplitValueFile("blkio.io_queued_recursive", 1, int)
io_service_bytes = SplitValueFile("blkio.io_service_bytes", 1, int)
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =