Skip to content

Commit

Permalink
Optimize CPU ctx display
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed May 20, 2017
1 parent fbe3a3b commit 6d333b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glances/plugins/glances_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def msg_curse(self, args=None):
msg = ' {:8}'.format('ctx_sw:')
ret.append(self.curse_add_line(msg, optional=self.get_views(key='ctx_switches', option='optional')))
msg = '{:>5}'.format(self.auto_unit(int(self.stats['ctx_switches'] // self.stats['time_since_update']),
min_symbol='M'))
min_symbol='K'))
ret.append(self.curse_add_line(
msg, self.get_views(key='ctx_switches', option='decoration'),
optional=self.get_views(key='ctx_switches', option='optional')))
Expand Down

0 comments on commit 6d333b5

Please sign in to comment.