I have tried top
and PS
command but i am not able to find the RAM used by each process.
top command says that 240MB RAM used but the Memory shows 0% for all the processes, same with ps
. i want to know which process consumes all 240MB RAM.
Is there any command which / script which can sort the running process in oder of increasing RAM usage so that i can see. Also i find it very hard to read bytes and KB. Is there any to way to chnage those units to MB
Please help
Best Answer
prints:
Keep in mind that free and top will show "cached" memory so you won't be able to tell how much is actually used and free. It's technically free to the system, though it might have to dump the cache to use it. I find free not so useful, and top only slightly more useful (plus top usually consumes any free RAM I have lol).