Solved

Finding memory hogs on RH9

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 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