pub struct ProcessStatistics {
pub command_line: Option<String>,
pub kernel_time_seconds: Option<f64>,
pub resident_set_size_bytes: Option<i64>,
pub restart_after_failure_count: Option<i64>,
pub restart_count: Option<i64>,
pub uptime_seconds: Option<f64>,
pub user_time_seconds: Option<f64>,
}
Expand description
The statistics of a process running on a manager.
Fields§
§command_line: Option<String>
The command line of this process.
kernel_time_seconds: Option<f64>
The number of seconds this process executed in kernel space.
resident_set_size_bytes: Option<i64>
The resident set size of this process in bytes.
restart_after_failure_count: Option<i64>
The number of times this process has restarted unexpectedly.
restart_count: Option<i64>
The number of times this process has restarted.
uptime_seconds: Option<f64>
The wall-clock time this process has been running in seconds.
user_time_seconds: Option<f64>
The number of seconds this process executed in user space.
Trait Implementations§
Source§impl Clone for ProcessStatistics
impl Clone for ProcessStatistics
Source§fn clone(&self) -> ProcessStatistics
fn clone(&self) -> ProcessStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProcessStatistics
impl Debug for ProcessStatistics
Source§impl Default for ProcessStatistics
impl Default for ProcessStatistics
Source§impl<'de> Deserialize<'de> for ProcessStatistics
impl<'de> Deserialize<'de> for ProcessStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for ProcessStatistics
impl Metadata<'static> for ProcessStatistics
Source§const JSON_SCHEMA: &'static str = "ManagerDiagnosticData.v1_2_0.json"
const JSON_SCHEMA: &'static str = "ManagerDiagnosticData.v1_2_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for ProcessStatistics
impl RefUnwindSafe for ProcessStatistics
impl Send for ProcessStatistics
impl Sync for ProcessStatistics
impl Unpin for ProcessStatistics
impl UnwindSafe for ProcessStatistics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more