Re: how to monitor memory usage on freebsd systems
"Chee Meng Gui" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you Dave Yes, the hw.physmem makes sense. That's not the issue. The issue is hrStorageUsed does not make sense. It is much greater than the value calculated from sysctl -a. ------ Thank you Michael. Sysctl shows that only 181MB (35%) of the physical RAM is used. The hrStorageUsed figue is 1172379 x 4096 ~= 469MB (91%) is used. I am very sure the memory used is not 91% as there isn't much running on the server. This discrepancy also happens on other servers, i.e.,. the snmp hrStorageUsed figures for Physical and Real memory are much higher than the Sysctl's figures. Something is not right with net-snmp implementation for freebsd? /usr/ports/net-mgmt/net-snmp/ work/net-snmp-5.4.1.2/agent/mibgroup/hardware/memory/memory_freebsd.c Best regards cm_gui On Mon, Aug 18, 2008 at 1:37 AM, Dave Shield <[email protected]>wrote: > 2008/8/15 Chee Meng Gui <[email protected]>: > > As requested, attached here are the results of snmpwalk and sysctl -a. > > Hmmm... > > Well, the value for hrStorageSize.1 makes sense: > > pa005: hw.physmem: 1063620608 / 4096 = 259673 = hrStorageSize.1 > pa037: hw.physmem: 526729216 / 4096 = 128596 = hrStorageSize.1 > > Unfortunately, all of the other values are calculated using > figures from 'vm.vm_meter', which isn't part of the sysctl -a output. > > Can you try retrieving these vm_meter values, and see how they > compare with the other memory-related figures? > > Dave > -- Chee Meng Gui Function Engineering 650-833-0660 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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