RE: Actual mem usage, not including disk cache

This is a discussion on RE: Actual mem usage, not including disk cache within the SNMP Users forums, part of the Networking and Network Related category; I would like SNMP to report MemTotal - (MemFree + Buffers + Cached), which, from what I've read, would give me an ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-07-2007
Chris Ochap
 
Posts: n/a
Default RE: Actual mem usage, not including disk cache

I would like SNMP to report MemTotal - (MemFree + Buffers + Cached),
which, from what I've read, would give me an accurate reading on how
much resident memory is actually being used by programs, with no caching
or buffers involved.

MemTotal: 1032920 kB
MemFree: 68440 kB
Buffers: 343972 kB
Cached: 274732 kB
SwapCached: 0 kB
Active: 724248 kB
Inactive: 167036 kB
HighTotal: 131008 kB
HighFree: 5080 kB
LowTotal: 901912 kB
LowFree: 63360 kB
SwapTotal: 524280 kB
SwapFree: 524280 kB
Dirty: 64 kB
Writeback: 0 kB
AnonPages: 272508 kB
Mapped: 20052 kB
Slab: 62008 kB
SReclaimable: 54616 kB
SUnreclaim: 7392 kB
PageTables: 1636 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 1040740 kB
Committed_AS: 533760 kB
VmallocTotal: 114680 kB
VmallocUsed: 2352 kB
VmallocChunk: 112272 kB

-Thanks.



Try running "cat /proc/meminfo" on the target system.
Which field(s) of this output correspond to the usage that you're
interested in?

The SNMP agent doesn't necessarily report all of these figures, but this
interface is where it retrieves the information that it does report.

Dave



-----Original Message-----
From: dave.shield@googlemail.com [mailto:dave.shield@googlemail.com] On
Behalf Of Dave Shield
Sent: Monday, May 07, 2007 10:12 AM
To: Chris Ochap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Actual mem usage, not including disk cache

On 07/05/07, Chris Ochap <cochap@ahfc.state.ak.us> wrote:
> Is there a way to make SNMP report memory usage for a linux server
> that does not include in memory disk cache/buffers? We're trying to
> get an accurate accouting of system memory usage, but all linux based
> hosts we have report memory usage as pegged, even if the host isn't
> busy. Thanks for any tips.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:17 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0