There is an interactive key "M" to sort by memory, which seems to be sorting on resident memory. Is there a way to sort on virtual memory? I happen to be working on Redhat Linux, but the question is not specific to this distribution.
There is an interactive key "M" to sort by memory, which seems to be sorting on resident memory. Is there a way to sort on virtual memory? I happen to be working on Redhat Linux, but the question is not specific to this distribution.
You get a list of things you can sort by by pressing
O
. Virtual segment size is optiono
, so you can get what you want by pressingOo<Enter>
.Try pressing
F
orO
in top, that should allow you to select the column you want to sort by.