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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Monday, May 07, 2007 10:12 AM
To: Chris Ochap
Cc: [email protected]
Subject: Re: Actual mem usage, not including disk cache

On 07/05/07, Chris Ochap <[EMAIL PROTECTED]> 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to