Solved

Finding memory hogs on RH9

Posted on 2004-08-26
5
296 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
5 Comments
 
LVL 11

Expert Comment

by:Jase-Coder
Comment Utility
hi in a terminal type

ps -aux | more

that will list all procsses
0
 
LVL 6

Expert Comment

by:knollbert
Comment Utility
top
shows memory mem & cpu usage
0
 
LVL 16

Expert Comment

by:xDamox
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

744 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now