Struct sysinfo::Process [] [src]

pub struct Process {
    pub name: String,
    pub cmd: String,
    pub exe: String,
    pub pid: Pid,
    pub environ: Vec<String>,
    pub cwd: String,
    pub root: String,
    pub memory: u64,
    pub parent: Option<Pid>,
    pub status: ProcessStatus,
    pub start_time: u64,
    pub cpu_usage: f32,
    // some fields omitted
}

Struct containing a process' information.

Fields

name of the program

command line

path to the executable

pid of the processus

Environment of the process.

Always empty except for current process.

current working directory

path of the root directory

memory usage (in kB)

Parent pid.

Status of the Process.

time of process launch (in seconds)

total cpu usage

Trait Implementations

impl Clone for Process
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ProcessExt for Process
[src]

[src]

Create a new process only containing the given information. Read more

[src]

Sends the given signal to the process.

impl Drop for Process
[src]

[src]

Executes the destructor for this type. Read more

impl Debug for Process
[src]

[src]

Formats the value using the given formatter.