pub struct Process {
Show 17 fields pub pid: u32, pub effective_uid: u32, pub effective_gid: u32, pub state: ProcessState, pub ppid: u32, pub program: String, pub cmdline: String, pub tty: Option<String>, pub priority: i8, pub real_time_priority: Option<u8>, pub nice: i8, pub threads: usize, pub vsz: usize, pub rss: usize, pub rss_shared: usize, pub rss_anon: usize, pub start_time: DateTime<Utc>,
}

Fields

pid: u32effective_uid: u32effective_gid: u32state: ProcessStateppid: u32program: Stringcmdline: Stringtty: Option<String>priority: i8real_time_priority: Option<u8>nice: i8threads: usizevsz: usize

Virtual Set Size (VIRT)

rss: usize

Resident Set Size (RES)

rss_shared: usize

Resident Shared Size (SHR)

rss_anon: usize

Resident Anonymous Memory

start_time: DateTime<Utc>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.