?
Solved

Finding memory hogs on RH9

Posted on 2004-08-26
5
Medium Priority
?
302 Views
Last Modified: 2013-12-15
Hi All,

I've got a RH9 box with 1Gb RAM. It seems as I give the box more RAM the more is getting used up. This may well be OK, but I'd like to find out what processes / applications are using all my RAM. How can I find this info on RH9?

Rgds,
jnbkze
0
Comment
Question by:jnbkze
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 11

Expert Comment

by:Jase-Coder
ID: 11901521
hi in a terminal type

ps -aux | more

that will list all procsses
0
 
LVL 6

Expert Comment

by:knollbert
ID: 11902623
top
shows memory mem & cpu usage
0
 
LVL 16

Expert Comment

by:xDamox
ID: 11906486
you can use the following:

ps -aux
which Jase-Coder showed you you can also use:

w
which will show you the loading adverage like:
21:16:20 up  3:55,  3 users,  load average: 1.21, 1.32, 1.35

you can also do:
uptime

which will also give the same info as above
0
 
LVL 6

Expert Comment

by:de2Zotjes
ID: 11906519
It is perfectly normal for a Linux system to use up all memory. Any memory not used for a purpose will be used for disk-caching (specifically read ahead) and buffers. So, yes, the more memory you give Linux the more it "needs".

However when the memory is needed for other purposes than caching it is reassigned.
0
 
LVL 1

Accepted Solution

by:
HollyRidge earned 150 total points
ID: 12044741
Use top and sort by memory usage. :) That can be done by opening top through ssh or console and once it is open hit shift+m (capital M). The capital M will sort top my memory usage. :)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question