Struct sc_telemetry::SysInfo
source · pub struct SysInfo {
pub cpu: Option<String>,
pub memory: Option<u64>,
pub core_count: Option<u32>,
pub linux_kernel: Option<String>,
pub linux_distro: Option<String>,
pub is_virtual_machine: Option<bool>,
}
Expand description
Hardware and software information for the node.
Gathering most of this information is highly OS-specific, so most of the fields here are optional.
Fields§
§cpu: Option<String>
The exact CPU model.
memory: Option<u64>
The total amount of memory, in bytes.
core_count: Option<u32>
The number of physical CPU cores.
linux_kernel: Option<String>
The Linux kernel version.
linux_distro: Option<String>
The exact Linux distribution used.
is_virtual_machine: Option<bool>
Whether the node’s running under a virtual machine.