Struct cgroups_rs::blkio::BlkIo[][src]

pub struct BlkIo {
    pub io_merged: Vec<IoService>,
    pub io_merged_total: u64,
    pub io_merged_recursive: Vec<IoService>,
    pub io_merged_recursive_total: u64,
    pub io_queued: Vec<IoService>,
    pub io_queued_total: u64,
    pub io_queued_recursive: Vec<IoService>,
    pub io_queued_recursive_total: u64,
    pub io_service_bytes: Vec<IoService>,
    pub io_service_bytes_total: u64,
    pub io_service_bytes_recursive: Vec<IoService>,
    pub io_service_bytes_recursive_total: u64,
    pub io_serviced: Vec<IoService>,
    pub io_serviced_total: u64,
    pub io_serviced_recursive: Vec<IoService>,
    pub io_serviced_recursive_total: u64,
    pub io_service_time: Vec<IoService>,
    pub io_service_time_total: u64,
    pub io_service_time_recursive: Vec<IoService>,
    pub io_service_time_recursive_total: u64,
    pub io_wait_time: Vec<IoService>,
    pub io_wait_time_total: u64,
    pub io_wait_time_recursive: Vec<IoService>,
    pub io_wait_time_recursive_total: u64,
    pub leaf_weight: u64,
    pub leaf_weight_device: Vec<BlkIoData>,
    pub sectors: Vec<BlkIoData>,
    pub sectors_recursive: Vec<BlkIoData>,
    pub throttle: BlkIoThrottle,
    pub time: Vec<BlkIoData>,
    pub time_recursive: Vec<BlkIoData>,
    pub weight: u64,
    pub weight_device: Vec<BlkIoData>,
    pub io_stat: Vec<IoStat>,
}

Statistics and state of the block devices.

Fields

io_merged: Vec<IoService>

The number of BIOS requests merged into I/O requests by the control group’s tasks.

io_merged_total: u64

Same as io_merged, but only reports the total number.

io_merged_recursive: Vec<IoService>

Same as io_merged, but contains all descendant control groups.

io_merged_recursive_total: u64

Same as io_merged_recursive, but only reports the total number.

io_queued: Vec<IoService>

The number of requests queued for I/O operations by the tasks of the control group.

io_queued_total: u64

Same as io_queued, but only reports the total number.

io_queued_recursive: Vec<IoService>

Same as io_queued, but contains all descendant control groups.

io_queued_recursive_total: u64

Same as io_queued_recursive, but contains all descendant control groups.

io_service_bytes: Vec<IoService>

The number of bytes transferred from and to the block device (as seen by the CFQ I/O scheduler).

io_service_bytes_total: u64

Same as io_service_bytes, but contains all descendant control groups.

io_service_bytes_recursive: Vec<IoService>

Same as io_service_bytes, but contains all descendant control groups.

io_service_bytes_recursive_total: u64

Total amount of bytes transferred between the tasks and block devices, including the descendant control groups’ numbers.

io_serviced: Vec<IoService>

The number of I/O operations (as seen by the CFQ I/O scheduler) between the devices and the control group’s tasks.

io_serviced_total: u64

The total number of I/O operations performed on the devices as seen by the throttling policy.

io_serviced_recursive: Vec<IoService>

Same as io_serviced, but contains all descendant control groups.

io_serviced_recursive_total: u64

Same as io_serviced, but contains all descendant control groups and contains only the total amount.

io_service_time: Vec<IoService>

The total time spent between dispatch and request completion for I/O requests (as seen by the CFQ I/O scheduler) by the control group’s tasks.

io_service_time_total: u64

Same as io_service_time, but contains all descendant control groups and contains only the total amount.

io_service_time_recursive: Vec<IoService>

Same as io_service_time, but contains all descendant control groups.

io_service_time_recursive_total: u64

Same as io_service_time_recursive, but contains all descendant control groups and only the total amount.

io_wait_time: Vec<IoService>

Total amount of time spent waiting for a free slot in the CFQ I/O scheduler’s queue.

io_wait_time_total: u64

Same as io_wait_time, but only reports the total amount.

io_wait_time_recursive: Vec<IoService>

Same as io_wait_time, but contains all descendant control groups.

io_wait_time_recursive_total: u64

Same as io_wait_time_recursive, but only reports the total amount.

leaf_weight: u64

How much weight do the control group’s tasks have when competing against the descendant control group’s tasks.

leaf_weight_device: Vec<BlkIoData>

Same as leaf_weight, but per-block-device.

sectors: Vec<BlkIoData>

Total number of sectors transferred between the block devices and the control group’s tasks.

sectors_recursive: Vec<BlkIoData>

Same as sectors, but contains all descendant control groups.

throttle: BlkIoThrottle

Similar statistics, but as seen by the throttle policy.

time: Vec<BlkIoData>

The time the control group had access to the I/O devices.

time_recursive: Vec<BlkIoData>

Same as time, but contains all descendant control groups.

weight: u64

The weight of this control group.

weight_device: Vec<BlkIoData>

Same as weight, but per-block-device.

io_stat: Vec<IoStat>

IoStat for cgroup v2

Trait Implementations

impl Debug for BlkIo[src]

impl Default for BlkIo[src]

Auto Trait Implementations

impl RefUnwindSafe for BlkIo

impl Send for BlkIo

impl Sync for BlkIo

impl Unpin for BlkIo

impl UnwindSafe for BlkIo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.