Alfonso Cornejo wrote:
I'm trying to get the amount of memory that is used in a windows system using the c++ netsnmp api, I've tried several things but nothing seems to work...my last resort is to perform an snmpwalk like this one "snmpwalk -v 2c -c public 192.168.1.2 .1.3.6.1.2.1.25.5.1.1.2" in order to get the amount of memory that takes each process that is running in the computer and then add them. when we create the pdu for our request in a Get situation we put "pdu = snmp_pdu_create(SNMP_MSG_GET)" but what do I have to put to perform an snmpwalk???..I already put SNMP_MSG_WALK and it doesn't work, I've been searching in the net-snmp web site but I can't find how to....thank's alot for you're help.

See apps/snmpwalk.c in the source distribution.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
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