Struct sysinfo::Process [] [src]

pub struct Process {
    pub name: String,
    pub cmd: Vec<String>,
    pub exe: String,
    pub pid: pid_t,
    pub parent: Option<pid_t>,
    pub environ: Vec<String>,
    pub cwd: String,
    pub root: String,
    pub memory: u64,
    pub start_time: u64,
    pub cpu_usage: f32,
    pub uid: uid_t,
    pub gid: gid_t,
    // some fields omitted
}

Fields

name of the program

command line, split into arguments

path to the executable

pid of the process

pid of the parent process

environment of the process

current working directory

path of the root directory

memory usage (in kB)

time of process launch (in seconds)

total cpu usage

user id of the process owner

group id of the process owner

Methods

impl Process
[src]

Trait Implementations

impl Clone for Process
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Process
[src]

Formats the value using the given formatter.