Struct sysinfo::Process [−][src]
pub struct Process { /* fields omitted */ }
Expand description
Struct containing a process’ information.
Trait Implementations
impl ProcessExt for Process
[src]
impl ProcessExt for Process
[src]fn new(pid: Pid, parent: Option<Pid>, _: u64) -> Process
[src]
fn virtual_memory(&self) -> u64
[src]
fn virtual_memory(&self) -> u64
[src]Returns the virtual memory usage (in kB). Read more
fn status(&self) -> ProcessStatus
[src]
fn status(&self) -> ProcessStatus
[src]Returns the status of the processus. Read more
fn start_time(&self) -> u64
[src]
fn start_time(&self) -> u64
[src]Returns the time of process launch (in seconds). Read more
fn cpu_usage(&self) -> f32
[src]
fn cpu_usage(&self) -> f32
[src]Returns the total CPU usage (in %). Notice that it might be bigger than 100 if run on a multicore machine. Read more
fn disk_usage(&self) -> DiskUsage
[src]
fn disk_usage(&self) -> DiskUsage
[src]Returns number of bytes read and written to disk. Read more
Auto Trait Implementations
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T