4 Awesome ways to find top memory consuming processes in Linux.

memory consuming processes in Linux.find top memory consuming processes in Linux


1. Finding out  top memory consuming processes in Linux using ps command.

There is one liner code available with ps command which will help you  to find top memory consuming processes in Linux.

Command:

Sample Output:

Here output get sorted according to memory utilisation which will help you find out top memory consuming processes in Linux very easily.

2. Continuously monitoring top memory consuming processes in Linux.

If in case you need to monitor the output continuously. Below command which is using watch command comes very handy.

Command:

Sample output:

 

3. Top memory consuming processes in Linux using top command.

The same output of the ps command can also be achieved using the native top command in Linux to find top memory consuming processes in Linux.

Command:

Sample output:

 

 

 

 

for cpu top - Command:

Sample output:

 

 

4. Find Top memory consuming processes in Linux using htop command.

There is one more utility called htop which will help you to find the top cpu consuming processes in Linux.  In case its not installed by default follow this article.

Command:

Once you execute htop command, a continuous running window will open same like top as below:

top memory consuming processes in Linux

In order to sort out the processes by memory utilisation  simply press “F6” button and then select memory and hit enter. You will able to see the processes sorted according to memory utilisation as below:

 top memory consuming processes in Linux

posted @ 2018-11-26 16:47  海东潮  阅读(168)  评论(0)    收藏  举报