mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 20:07:23 -04:00
Align header too if kernel.pid_max is > 99999 (#959)
This commit is contained in:
@@ -484,7 +484,7 @@ class Plugin(GlancesPlugin):
|
||||
ret.append(self.curse_add_line(msg, optional=True))
|
||||
msg = '{:>6}'.format('RES')
|
||||
ret.append(self.curse_add_line(msg, optional=True))
|
||||
msg = '{:>6}'.format('PID')
|
||||
msg = '{:>{width}}'.format('PID', width=self.__max_pid_size() + 1)
|
||||
ret.append(self.curse_add_line(msg))
|
||||
msg = ' {:10}'.format('USER')
|
||||
ret.append(self.curse_add_line(msg, sort_style if process_sort_key == 'username' else 'DEFAULT'))
|
||||
|
||||
Reference in New Issue
Block a user