Struct linux_stats::Stat
source · pub struct Stat {
pub cpu: Vec<u64>,
pub cpus: Vec<Vec<u64>>,
pub intr: Vec<u64>,
pub ctxt: u64,
pub btime: u32,
pub processes: u32,
pub procs_running: u32,
pub procs_blocked: u32,
pub softirq: Vec<u64>,
}
Expand description
Represents the output of cat /proc/stat
Fields§
§cpu: Vec<u64>
§cpus: Vec<Vec<u64>>
§intr: Vec<u64>
§ctxt: u64
§btime: u32
§processes: u32
§procs_running: u32
§procs_blocked: u32
§softirq: Vec<u64>
Trait Implementations§
source§impl PartialEq<Stat> for Stat
impl PartialEq<Stat> for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more