Results 1 to 4 of 4
Memory of my Linux database servce is all used up. I first noted that this morning and rebooted the box. 5 hours later, it saw used up again. I want ...
- 02-18-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 1
How to get memory usage info?
Memory of my Linux database servce is all used up. I first noted that this morning and rebooted the box. 5 hours later, it saw used up again. I want to find out which process is responsible for using most of the memories. What Redhat Linux utility can list processes sorting by their memory usage, like the Windows task manager?
I looked into some tools but they are not much help
free and vmstat - summary but not for each process
top appears to be infomative, but sum of non-zero %MEM never add upp to 100.
What is the best tool to used here?
Thanks
- 02-18-2010 #2
Hello and Welcome.
You could install htop, it's a nice little command line program very much like top command but with a few extras. It should be available in your system repos.I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 02-18-2010 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
- 02-18-2010 #4
memory management under linux is different to windows XP/2003 and older, by default it uses all extra memory for cache and freeing up as needed
are you running into problems? use free -m command to see free memory, pay attention to second line
first number is actual used memory, second is actual free memoryCode:-/+ buffers/cache: 1080 2186
when looking at process memory with top or htop you need to look at RES (resident) memory column


Reply With Quote
