Correct an issue on CPU alert (always system...)

This commit is contained in:
nicolargo 2015-03-11 20:06:58 +01:00
parent 58f03687b8
commit 44263e3760

View File

@ -150,7 +150,7 @@ class Plugin(GlancesPlugin):
for key in ['user', 'system', 'iowait']:
if key in self.stats:
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
for key in ['steal']:
if key in self.stats: