[][src]Trait heim_process::os::linux::IoCountersExt

pub trait IoCountersExt {
    pub fn chars_read(&self) -> Information;
pub fn chars_written(&self) -> Information;
pub fn read_syscalls(&self) -> u64;
pub fn write_syscalls(&self) -> u64;
pub fn bytes_read(&self) -> Information;
pub fn bytes_written(&self) -> Information;
pub fn cancelled_write_bytes(&self) -> Information; }
This is supported on Linux only.

Linux-specific extension to process IoCounters information.

Required methods

pub fn chars_read(&self) -> Information[src]

The number of bytes which this task has caused to be read from storage.

pub fn chars_written(&self) -> Information[src]

The number of bytes which this task has caused, or shall cause to be written to disk.

pub fn read_syscalls(&self) -> u64[src]

Attempt to count the number of read I/O operations, i.e. syscalls like read() and pread().

pub fn write_syscalls(&self) -> u64[src]

Attempt to count the number of write I/O operations, i.e. syscalls like write() and pwrite().

pub fn bytes_read(&self) -> Information[src]

be fetched from the storage layer.

pub fn bytes_written(&self) -> Information[src]

Attempt to count the number of bytes which this process caused to be sent to the storage layer.

pub fn cancelled_write_bytes(&self) -> Information[src]

The number of bytes which this process caused to not happen, by truncating pagecache.

Loading content...

Implementors

Loading content...