diff --git a/command_handlers.py b/command_handlers.py index a66c944..bb5cae7 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -117,7 +117,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): if choice == 1: psutil.cpu_percent() time.sleep(0.1) - cpu = str(psutil.cpu_percent()) + cpu = str(psutil.cpu_percent()/psutil.cpu_count()) response = "CPU: " + cpu + "%" send_message(response, sender_id, interface) handle_stats_command(sender_id, interface)