mirror of https://github.com/nicolargo/glances
Migrate the swao plugin to PsUtil 2.0
parent
060de6439f
commit
7c75dc66d4
|
@ -99,7 +99,8 @@ class Plugin(GlancesPlugin):
|
|||
ret.append(self.curse_add_line(msg))
|
||||
msg = "{0}".format(format(self.auto_unit(self.stats['used'], '>6')))
|
||||
ret.append(self.curse_add_line(
|
||||
msg, self.get_alert_log(self.stats['used'], max=self.stats['total'])))
|
||||
msg, self.get_alert_log(self.stats['used'],
|
||||
ax=self.stats['total'])))
|
||||
# New line
|
||||
ret.append(self.curse_new_line())
|
||||
# Free memory usage
|
||||
|
|
Loading…
Reference in New Issue