From 60f9f8d9090dadbffd64381031f072cd50673ae4 Mon Sep 17 00:00:00 2001 From: Blergo Date: Tue, 2 Jul 2024 21:14:43 +0100 Subject: [PATCH] server stat formatting --- command_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_handlers.py b/command_handlers.py index 6b614d3..3954d9d 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -107,7 +107,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): la2 = str(psutil.getloadavg()[1]) la3 = str(psutil.getloadavg()[2]) ramu = str(psutil.virtual_memory().percent) - response = "CPU: " + cpu + "Mhz\nLoad " + la1 + la2 + la3 + "\nRAM: " + ramu + "% Used" + response = "CPU: " + cpu + "Mhz\nLoad " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" send_message(response, sender_id, interface) handle_stats_command(sender_id, interface) return