From 99ca9c98182ef246fef47f6bbc679236158c3677 Mon Sep 17 00:00:00 2001 From: Kenneth Sheridan Date: Thu, 7 Nov 2024 14:38:21 -0800 Subject: [PATCH] upadated the main() to leverage the new storage info features --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index 599f6d2..6359263 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1191,6 +1191,11 @@ fn main() -> Result<(), Box> { server_info.hardware.memory.speed ); + println!( + "Storage: {} (Total: {:.2} TB)", + server_info.summary.total_storage, server_info.summary.total_storage_tb + ); + // Calculate total storage let total_storage = server_info .hardware