mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-04 07:34:49 +03:00
glances_percpu.py: total: python3 fix
This commit is contained in:
parent
0b174d11db
commit
8c30ab1942
@ -63,7 +63,7 @@ class Plugin(GlancesPlugin):
|
||||
for cputimes in percpu_times_percent:
|
||||
cpu = {'key': self.get_key(),
|
||||
'cpu_number': str(cpu_number),
|
||||
'total': 100 - cputimes.idle,
|
||||
'total': round(100 - cputimes.idle, 1),
|
||||
'user': cputimes.user,
|
||||
'system': cputimes.system,
|
||||
'idle': cputimes.idle}
|
||||
|
Loading…
Reference in New Issue
Block a user