Struct BlkIo

Source
pub struct BlkIo {
Show 34 fields 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>,
}
Expand description

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§

Source§

impl Debug for BlkIo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BlkIo

Source§

fn default() -> BlkIo

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl Freeze for BlkIo

§

impl RefUnwindSafe for BlkIo

§

impl Send for BlkIo

§

impl Sync for BlkIo

§

impl Unpin for BlkIo

§

impl UnwindSafe for BlkIo

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> NoneValue for T
where T: Default,

Source§

type NoneType = T

Source§

fn null_value() -> T

The none-equivalent value.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more