General
cancel
Showing results for 
Search instead for 
Did you mean: 

To find out process used more memory in current time

mw_4
Frequent Advisor

To find out process used more memory in current time

Hi all.
I have redhat 7.1
[root@web log]# uname -r
2.4.3-12smp box in my office
then..
can I ask you sth..
I wonder if i can find out how much memory used process current time in Real time..

top would display
some data but i post result of top that i ran

but total mem about 2Gb,
current mem used 1.95Gb
free 102Mb
cpu idles are free 100%, but
memory is overload..
how can I pick it up the process that used most memory in real time..
any good hlep or tips or advice is fine
thank you all
Step by step
2 REPLIES
Stuart Browne
Honored Contributor

Re: To find out process used more memory in current time

Well you've got the Java processes there using quite a bit of memory, and just shy of 300MB of buffers (see the right-hand side).

So long as the thing isn't swapping, I don't see a problem.

the 'RSS' value is the value you should be looking at, but as this included the amount of shared memory and such for threaded applications, the calculations can get messy.

You want to read up on 'man top' and 'man ps' about the memory columns there and how it calculates how much is actually in use.

As it uses the numbers gathered from /proc//statm in the calculations, it gets messy. You might also want to read through some of the kernel documentation regarding the PROC filesystem.
One long-haired git at your service...
Chakravarthi
Trusted Contributor

Re: To find out process used more memory in current time

run top and then press M,

it sorts all the processes based on memory usage