Solved

Finding memory hogs on RH9

Posted on 2004-08-26
5
301 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 50 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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

691 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