Struct sysinfo::Process[][src]

pub struct Process {
    pub uid: uid_t,
    pub gid: gid_t,
    pub tasks: HashMap<Pid, Process>,
    // some fields omitted
}

Struct containing a process' information.

Fields

User id of the process owner.

Group id of the process owner.

Tasks run by this process.

Trait Implementations

impl Clone for Process
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ProcessExt for Process
[src]

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

Sends the given signal to the process.

Returns the name of the processus.

Returns the command line.

Returns the path to the processus.

Returns the pid of the processus.

Returns the environment of the process. Read more

Returns the current working directory. Read more

Returns the path of the root directory. Read more

Returns the memory usage (in kB).

Returns the parent pid.

Returns the status of the processus (idle, run, zombie, etc). None means that sysinfo doesn't have enough rights to get this information.

Returns the time of process launch (in seconds).

Returns the total CPU usage.

impl Debug for Process
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Process

impl Sync for Process