mirror of https://github.com/nicolargo/glances
"sorted by ?" is displayed when setting the sort criterion to "USER" #1407
parent
bfcf212c2c
commit
b4036670e2
1
NEWS
1
NEWS
|
@ -26,6 +26,7 @@ Bugs corrected:
|
|||
* Stack trace when starts Glances on CentOS #1470
|
||||
* UnicodeEncodeError: 'ascii' codec can't encode character u'\u25cf' - Raspbian stretch #1483
|
||||
* Prometheus integration broken with latest prometheus_client #1397
|
||||
* "sorted by ?" is displayed when setting the sort criterion to "USER" #1407
|
||||
|
||||
Others:
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ class Plugin(GlancesPlugin):
|
|||
'cpu_percent': 'CPU consumption',
|
||||
'memory_percent': 'memory consumption',
|
||||
'cpu_times': 'process time',
|
||||
'username': 'user name',
|
||||
'name': 'process name',
|
||||
None: 'None'}
|
||||
|
||||
|
@ -138,7 +139,7 @@ class Plugin(GlancesPlugin):
|
|||
try:
|
||||
sort_human = self.sort_for_human[glances_processes.sort_key]
|
||||
except KeyError:
|
||||
sort_human = '?'
|
||||
sort_human = glances_processes.sort_key
|
||||
if glances_processes.auto_sort:
|
||||
msg = 'sorted automatically'
|
||||
ret.append(self.curse_add_line(msg))
|
||||
|
|
Loading…
Reference in New Issue