Linux Top sorting by memory
Feb 20, 2021
press shift+m after running the top command
run command top -o +%mem
Sort By memory Usage per-process in the interactive menu
- press Shift+f to enter the interactive menu
- press the up or down arrow until the %MEM choice is highlighted
- press s to select %MEM choice
- press enter to save your selection
- press q to exit the interactive menu