Removed total ram as not reporting correctly.

Will revisit in future
This commit is contained in:
Blergo 2024-07-02 19:04:51 +01:00
parent 3bf27a30d9
commit 38ad26166b

View file

@ -114,8 +114,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes):
time.sleep(0.1)
cpu = str(psutil.cpu_percent()/psutil.cpu_count())
ramu = str(psutil.virtual_memory().percent)
ramt = str(psutil.virtual_memory().total)
response = "CPU: " + cpu + "%\nRAM: " + ramu + "% Used of " + ramt
response = "CPU: " + cpu + "%\nRAM: " + ramu
send_message(response, sender_id, interface)
handle_stats_command(sender_id, interface)
return