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]

[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.

[src]

Returns the name of the processus.

[src]

Returns the command line.

[src]

Returns the path to the processus.

[src]

Returns the pid of the processus.

[src]

Returns the environment of the process. Read more

[src]

Returns the current working directory.

[src]

Returns the path of the root directory.

[src]

Returns the memory usage (in kB).

[src]

Returns the parent pid.

[src]

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

[src]

Returns the time of process launch (in seconds).

[src]

Return the total CPU usage.

impl Debug for Process
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Process

impl Sync for Process