BTW, here is a decent link: http://howto.aphroland.org/HOWTO/MRTG/SystemMonitoringMemoryStats for a list of OID's. -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Miller, Joe Sent: Tuesday, February 22, 2005 1:14 PM To: Bill Matthews; General Red Hat Linux discussion list Subject: RE: Real Memory Usage I've had the same problem here with linux memory utilization. The kernel on linux does not work the way windows work. It grabs as much memory as it can and performs page swapping when necessary. Knowing that, you should really be monitoring used swap space in MRTG. Check out OID .1.3.6.1.2.1.25.2.3.1.6.102 which is a better indicator for memory monitoring with MRTG. -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Bill Matthews Sent: Tuesday, February 22, 2005 12:59 PM To: General Red Hat Linux discussion list Subject: Real Memory Usage Hello, I have a box running RHEL 3 with 2GB of RAM. I am graphing memory usage with MRTG. The box consistant runs at 5% CPU, but 95% memory usage. So something is using a heck of a lot of RAM. The box just has some basic services on it (web server, mrtg, etc). So I'm not sure what could be using that much RAM. Being new to Linux...how do I tell what processes are using how much memory? Here's an output from vmstat vmstat 5 5 procs memory swap io system cpu r b swpd free buff cache si so bi bo in cs us sy wa id 0 0 0 291788 149368 1368452 0 0 2 3 2 3 2 1 0 7 0 1 0 291876 149368 1368448 0 0 0 739 137 103 3 3 0 95 0 1 0 292128 149368 1368452 0 0 0 370 164 50 1 0 1 98 0 0 0 292344 149368 1368456 0 0 0 135 136 215 1 2 0 96 0 0 0 291968 149368 1368456 0 0 0 112 312 204 2 1 0 98 So you can see it only has 300MB of memory free, meaning 1.7GB is used. The only commands I'm familiar with our ps -aef and top. top shows %MEM but almost all processes are 0.0%. Some are 0.5 or 0.1. Not sure where to look? Thanks BM -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list ######################################################################## ############# CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s). ######################################################################## ############# -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list ##################################################################################### CONFIDENTIAL: This e-mail, including its contents and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose its contents to anybody else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Although we routinely screen for viruses, addressees should check this e-mail and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read e-mails sent to and from our server(s). ##################################################################################### -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list