LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to list the process using most memory (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-list-the-process-using-most-memory-144247/)

adoyee 02-09-2004 07:52 PM

How to list the process using most memory
 
top result:
mem: 126060k av, 123744k used, 2316k free, 0k shrd, 52656k buff

but....
Most of process use Mem 0.0

ranger_nemo 02-09-2004 08:14 PM

You can sort the listings in top. Hit 'M' to sort by memory use. Hit 'h' for help.

sundialsvcs 02-09-2004 09:14 PM

A few things to keep in mind, however...
  • All memory is virtual. The amount of virtual memory allocated to a process has no direct bearing on how much physical RAM is being used.
  • If there is no competition for memory being manifested at this time, i.e. physical memory supply is adequate and there's not too much going on, then the computer will be quite "lazy" about cleaning-up the memory used by a particular process ... hey, he used it once, he might use it again! Why bother if nobody's complaining? Indeed.

The only time when the "memory use" of a process might really make a difference is when the system is persistently and actively swapping, because there is not enough memory to satisfy the demand and this condition has been going on for several minutes or more and processes, which weren't "just started-up moments ago," are actually being human-noticeably delayed by it.

shweta24 09-06-2012 03:11 AM

how to list process using most memory
 
plzz give answer of this question........... in some other way..... as the already given one is not working.......


All times are GMT -5. The time now is 04:59 PM.