record system processes with stats

This commit is contained in:
mbecker20
2023-01-04 08:25:17 +00:00
parent 3dfeb65aab
commit 53cf644008
2 changed files with 3 additions and 8 deletions

View File

@@ -234,6 +234,7 @@ pub struct SystemStatsRecord {
pub disk: DiskUsage,
pub networks: Vec<SystemNetwork>,
pub components: Vec<SystemComponent>,
pub processes: Vec<SystemProcess>,
pub polling_rate: Timelength,
}
@@ -248,6 +249,7 @@ impl SystemStatsRecord {
disk: stats.disk,
networks: stats.networks,
components: stats.components,
processes: stats.processes,
polling_rate: stats.polling_rate,
}
}