From b0e886a711d3391bf83dd9dd6f0d3117e27df92e Mon Sep 17 00:00:00 2001 From: lukemartinlogan Date: Fri, 29 Mar 2024 16:44:36 -0500 Subject: [PATCH] Report percent on cpu --- bin/pymonitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pymonitor b/bin/pymonitor index 6f3fb3a..76c32ab 100644 --- a/bin/pymonitor +++ b/bin/pymonitor @@ -73,7 +73,7 @@ def cpu_log_to_yaml(cur_time, cpu_usage): return json.dumps({ 'type': 'CPU', 'time': cur_time, - 'cpu': cpu_usage, + 'percent': cpu_usage, }) + '\n'