LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Free memory (https://www.linuxquestions.org/questions/linux-newbie-8/free-memory-836472/)

elainelaw 10-06-2010 01:50 AM

Free memory
 
I use command "top" found that the server free memory is very slow , but the loading is very slow , so I wonder what process used up the memory , how can I know the allocation of memory usage ( by process ) ? how can I know what process using high menory ?

Thx.

neonsignal 10-06-2010 02:05 AM

If you type 'M' into top, it will reorder the processes by memory usage.

However, it is normal to have low free memory, since any spare memory will be used for disk caching. What is more important is to know how much swap memory is being used. Thrashing of the swap file is what slows things down dramatically.

vishesh 10-06-2010 04:39 AM

vmstat is also a useful command to get swap status.

Thanks

craigevil 10-06-2010 05:26 AM

LinuxPlanet - Tutorials - How do You Really Measure Linux Bloat? - Different Methods to Query Memory Usage
http://www.linuxplanet.com/linuxplan...orials/6830/1/

smem
Description: memory reporting tool
Tool that can give numerous reports on memory usage on Linux systems.
Unlike existing tools, smem can report proportional set size (PSS),
which is a more meaningful representation of the amount of memory used
by libraries and applications in a virtual memory system.
Homepage: http://www.selenic.com/smem/


All times are GMT -5. The time now is 02:15 AM.