From 7c6d402036040b18410ef6ebb5b6e5d40482475f Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sun, 29 May 2022 18:45:34 +0200 Subject: [PATCH] Change the way core are displayed --- glances/plugins/glances_load.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/glances/plugins/glances_load.py b/glances/plugins/glances_load.py index 1896fa18..20f57552 100644 --- a/glances/plugins/glances_load.py +++ b/glances/plugins/glances_load.py @@ -170,11 +170,13 @@ class Plugin(GlancesPlugin): # Build the string message # Header - msg = '{:5}'.format('LOAD') + msg = '{:4}'.format('LOAD') ret.append(self.curse_add_line(msg, "TITLE")) + msg = ' {:1}'.format(self.trend_msg(self.get_trend('min1'))) + ret.append(self.curse_add_line(msg)) # Core number if 'cpucore' in self.stats and self.stats['cpucore'] > 0: - msg = '{:3}-core'.format(int(self.stats['cpucore'])) + msg = '{:3}core'.format(int(self.stats['cpucore'])) ret.append(self.curse_add_line(msg)) # Loop over 1min, 5min and 15min load for load_time in ['1', '5', '15']: