How can I display the top
results in my terminal in real time so that the list is sorted by memory usage?
How to display `top` results sorted by memory usage in real time
memoryterminaltop
memoryterminaltop
How can I display the top
results in my terminal in real time so that the list is sorted by memory usage?
Best Answer
Use the
top
command in Linux/Unix:top
command%MEM
choice is highlighted%MEM
choiceOr specify the sort order on the command line
References
https://stackoverflow.com/questions/4802481/how-to-see-top-processes-by-actual-memory-usage