You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing the exited containers in the list, but the exited containers mess up the sorting.
Example, when I sort with memory used, I see:
B running 58 mins 0 100.5M 11.6G 0 0 864b 0b /usr/local/bin/entrypoint.sh
A running 58 mins 0 41.5M 11.6G 0 0 864b 0b /usr/local/bin/entrypoint.sh
C exited NaN ? - - - NaNb NaNb [ "/init" ]
D running a week 0 365M 11.6G 0 0 920b 80b /init
E running 58 mins 0 100.5M 11.6G 0 0 864b 0b /usr/local/bin/entrypoint.sh
F exited NaN ? - - - NaNb NaNb /usr/local/bin/entrypoint.sh
H running a week 0 592M 11.6G 0 0 864b 0b /usr/local/bin/entrypoint.sh
G running 58 mins 0 100.5M 11.6G 0 0 864b 0b /usr/local/bin/entrypoint.sh
To Reproduce
Steps to reproduce the behavior:
Start glances with following options:
[containers]
all=True
Run, say, 5 containers, let say containers are named as followed: A, B, C, D, E
Note: (naming is important because alphabetically sorting is messing things):
Stop the container C
Sort on Memory usage.
Note that container A and B will be sorted and container D and E will be sorted.
But they wouldn't show proper sorting among each other, i.e if D consumes more memory than A it will still be below C because value of C is ? and it alphabetically sorted itself to the position.
Expected behavior
I would expect an exited container to consume 0 memory and CPU and sort itself accordingly at the bottom.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I have the following setting:
I am seeing the exited containers in the list, but the exited containers mess up the sorting.
Example, when I sort with memory used, I see:
To Reproduce
Steps to reproduce the behavior:
Run, say, 5 containers, let say containers are named as followed: A, B, C, D, E
Note: (naming is important because alphabetically sorting is messing things):
Stop the container
C
Sort on Memory usage.
Note that container
A
andB
will be sorted and containerD
andE
will be sorted.But they wouldn't show proper sorting among each other, i.e if
D
consumes more memory thanA
it will still be belowC
because value ofC
is?
and it alphabetically sorted itself to the position.Expected behavior
I would expect an exited container to consume
0
memory and CPU and sort itself accordingly at the bottom.The text was updated successfully, but these errors were encountered: