diff options
-rw-r--r-- | src/app/data_harvester/memory/heim.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/data_harvester/memory/heim.rs b/src/app/data_harvester/memory/heim.rs index 6e455510..e0d9c2c9 100644 --- a/src/app/data_harvester/memory/heim.rs +++ b/src/app/data_harvester/memory/heim.rs @@ -43,9 +43,10 @@ pub async fn get_ram_data() -> crate::utils::error::Result<Option<MemHarvest>> { // even though it probably shouldn't... use heim::memory::os::linux::MemoryExt; + ( memory.total().get::<heim::units::information::kilobyte>(), - memory.used().get::<heim::units::information::kibibyte>(), + memory.used().get::<heim::units::information::kilobyte>(), ) } #[cfg(target_os = "macos")] |