diff options
author | nicolargo <nicolas@nicolargo.com> | 2022-07-27 11:21:05 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2022-07-27 11:21:05 +0200 |
commit | 144e26f6c3d7b7fd594f07e25f274142d92cad07 (patch) | |
tree | 820ff24ab3672cd91d883b6a1c24eb962d1aa973 | |
parent | bce5131c1bb7811749c5064bb326893eab972541 (diff) |
Correct issue with CPU label
-rw-r--r-- | glances/plugins/glances_cpu.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/glances/plugins/glances_cpu.py b/glances/plugins/glances_cpu.py index e2fc11c2..0c16cdc1 100644 --- a/glances/plugins/glances_cpu.py +++ b/glances/plugins/glances_cpu.py @@ -95,10 +95,16 @@ another while ensuring that the tasks do not conflict.', 'unit': 'number', 'rate': True, 'min_symbol': 'K', - 'short_name': 'sw_int', + 'short_name': 'sys_call', + }, + 'cpucore': { + 'description': 'Total number of CPU core.', + 'unit': 'number' + }, + 'time_since_update': { + 'description': 'Number of seconds since last update.', + 'unit': 'seconds' }, - 'cpucore': {'description': 'Total number of CPU core.', 'unit': 'number'}, - 'time_since_update': {'description': 'Number of seconds since last update.', 'unit': 'seconds'}, } # SNMP OID |