Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-06-2010, 02:50 AM   #1
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
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 ?

Old 10-06-2010, 03:05 AM   #2
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Stretch (Fluxbox WM)
Posts: 1,389
Blog Entries: 52

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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.
Old 10-06-2010, 05:39 AM   #3
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
vmstat is also a useful command to get swap status.

Old 10-06-2010, 06:26 AM   #4
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
LinuxPlanet - Tutorials - How do You Really Measure Linux Bloat? - Different Methods to Query Memory Usage

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.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Application Virtual address space memory allocation - memory does not get free chamara82 Linux - General 4 01-01-2011 09:19 PM
Like to understand the linux "free" command with respect to cache and free memory bruzzese Linux - Server 2 03-28-2010 01:52 PM
[SOLVED] Free-ing memory problem. C/C++, free() sevs Programming 6 03-13-2010 01:31 PM
[SOLVED] Memory leak: How risky not to free allocated memory. kaz2100 Linux - General 1 12-24-2008 01:00 AM
Does free( ) immediatly free the memory? Rayven Programming 24 11-06-2006 03:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration