How can you sort processes by memory usage in top?

To sort processes by memory usage in the top command, follow these steps:

  1. Run the top command:

    top
    
  2. Once top is running, press the 'M' key (uppercase). This will sort the processes by memory usage (resident set size).

You should now see the processes reordered, with the most memory-intensive processes at the top of the list.

0 Comments

no data
Be the first to share your comment!