[no subject]

2008-08-18 Thread kumar undurthi
- 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

Re: how to monitor memory usage on freebsd systems

2008-08-18 Thread Dave Shield
2008/8/18 Chee Meng Gui <[EMAIL PROTECTED]>: > How do I get retrieve the vm_meter values? struct vmtotal total; size_t total_size = sizeof(total); inttotal_mib[] = { CTL_VM, VM_METER }; sysctl(total_mib,2, &total,&total_size,NULL, 0); Then you c

Re: how to monitor memory usage on freebsd systems

2008-08-18 Thread Chee Meng Gui
Hi Dave How do I get retrieve the vm_meter values? Thank you. cm_gui On Mon, Aug 18, 2008 at 11:23 AM, Dave Shield <[EMAIL PROTECTED]>wrote: > 2008/8/18 Chee Meng Gui <[EMAIL PROTECTED]>: > > The issue is hrStorageUsed does not make sense. > > It is much greater than the value calculated from

Re: how to monitor memory usage on freebsd systems

2008-08-18 Thread Dave Shield
2008/8/18 Chee Meng Gui <[EMAIL PROTECTED]>: > The issue is hrStorageUsed does not make sense. > It is much greater than the value calculated from sysctl -a. As I said earlier: >> .. all of the other values are calculated using >> figures from 'vm.vm_meter', which isn't part of the sysctl -a

Re: how to monitor memory usage on freebsd systems

2008-08-18 Thread Chee Meng Gui
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 there any cached memory on snmpget results?

2008-08-18 Thread Jordi Moles Blanco
hi, i've written a Perl agent which extents snmp functionality. The thing is that it works great, but i've noticed a strange behaviour in some snmget requests. I'm a newbie in all this snmp world, and may be it's the way that snmp works, but i prefer to ask you.. .just in case. Well Let's

Time out : No Response

2008-08-18 Thread Pachiappan D
Hi All, I am using net-snmp.5.4.1 agent in my linux pc. I let the snmpd to bind on 0.0.0.0 address and tried the following command. [EMAIL PROTECTED] ~]# snmpget -v2c -crwcom localhost sysName.0 Timeout: No Response from localhost. Can anyone help me on this? -Pachi- ---

Re: net-snmp dumping core in internal_register_config_handler

2008-08-18 Thread Devender Reddy
Hi, Please ignore the previous mail, as I was able to figure out the problem. The crash was happening, due to passsing of null value to init_snmp. This used to work fine in UCD 4.2.X. Now it seems, that it is mandatory to pass the type value to init_snmp api. If that is so, then can you please le

Re: Installing 5.4.1.2 on HP-UX 11.00 and shared library error

2008-08-18 Thread jari . soininen
Hi Thomas, Thanks for your reply. This is what i have got with 5.4.2.rc1: # CFLAGS=-fPIC ./configure # make I have also tried with this: # ./configure --with-cflags="-fPIC" # make But not succeed in either case. Writing Makefile for NetSNMP::TrapReceiver Writing Makefile for Bundle::NetSNM

Re: how to monitor memory usage on freebsd systems

2008-08-18 Thread Dave Shield
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 =

net-snmp dumping core in internal_register_config_handler

2008-08-18 Thread Devender Reddy
Hi, As part of IPV6 support, I was trying to upgrade the snmp version from ucd 4.2 .x to net-snmp 5.2.1. So, as part of this, I did the following things: 1) configure --enable-ipv6 - for enabling ipv6 2) make Once this is done, I copied the libnetsnmp.a to the lib location and modified the h