mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-29 07:30:58 +03:00
Correct an issue on CPU alert (always system...)
This commit is contained in:
parent
58f03687b8
commit
44263e3760
@ -150,7 +150,7 @@ class Plugin(GlancesPlugin):
|
|||||||
for key in ['user', 'system', 'iowait']:
|
for key in ['user', 'system', 'iowait']:
|
||||||
if key in self.stats:
|
if key in self.stats:
|
||||||
self.views[key]['decoration'] = self.get_alert_log(self.stats[key], header=key)
|
self.views[key]['decoration'] = self.get_alert_log(self.stats[key], header=key)
|
||||||
self.views['total']['decoration'] = self.get_alert_log(self.stats['total'], header="system")
|
self.views['total']['decoration'] = self.get_alert_log(self.stats['total'], header=key)
|
||||||
# Alert only
|
# Alert only
|
||||||
for key in ['steal']:
|
for key in ['steal']:
|
||||||
if key in self.stats:
|
if key in self.stats:
|
||||||
|
Loading…
Reference in New Issue
Block a user