LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-06-2010, 01:50 AM   #1
elainelaw
Member
 
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 ?

Thx.
 
Old 10-06-2010, 02:05 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
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, 04:39 AM   #3
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

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

Thanks
 
Old 10-06-2010, 05:26 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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/
 
1 members found this post helpful.
  


Reply



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 08:19 PM
Like to understand the linux "free" command with respect to cache and free memory bruzzese Linux - Server 2 03-28-2010 12:52 PM
[SOLVED] Free-ing memory problem. C/C++, free() sevs Programming 6 03-13-2010 12:31 PM
[SOLVED] Memory leak: How risky not to free allocated memory. kaz2100 Linux - General 1 12-24-2008 12:00 AM
Does free( ) immediatly free the memory? Rayven Programming 24 11-06-2006 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:56 PM.

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