Struct sysinfo::Process
[−]
[src]
pub struct Process { pub name: String, pub cmd: String, pub exe: String, pub pid: i64, pub environ: Vec<String>, pub cwd: String, pub root: String, pub memory: u64, pub start_time: u64, pub cpu_usage: f32, // some fields omitted }
Fields
name: String
name of the program
cmd: String
command line
exe: String
path to the executable
pid: i64
pid of the processus
environ: Vec<String>
environment of the processus
cwd: String
current working directory
root: String
path of the root directory
memory: u64
memory usage (in kB)
start_time: u64
time of process launch (in seconds)
cpu_usage: f32
total cpu usage
Methods
impl Process
[src]
Trait Implementations
impl Clone for Process
[src]
fn clone(&self) -> Process
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more