I am using Ubuntu 12.04 and have recently started working on bash. I need to display say memory or CPU in ascending order.
command : top
shift F, this shows window of all the column. I select n for memory and it is ordered in descending order. Same thing goes with CPU. I am unable to display these in ascending order. I have tried with shift O, O, R, shift R, P.
Using
F
you'd get you to the menu of fields. Usings
would set what field would do the sorting. PressESC
to escape from the menu then to change Ascending/Descending mode, useR
.