Function get_system_metrics

Source
fn get_system_metrics() -> HashMap<String, Value>
Expand description

Function to get system metrics.

ยงReturns

A HashMap containing the system metrics with CPU load average, memory and swap usage.