> $ time snmpwalk -Cp -Ct localhost ifTable
> Variables found: 110
> Total traversal time = 0.159480 seconds
> real 0m0.322s
Neat command! My time for 'time snmpwalk -Cp $AGENT ifTable' was:
real 0m0.215s
user 0m0.050s
sys 0m0.010s
Not sure what '-Ct' is for, but my snmpwalk gave me the error:
Unknown flag passed to -C: t
Is there a way to use this 'time' command such that it gives the
run time of each OID? That is, if I walk the MIB, can it tell me
the time for each of the get-nexts within the snmpwalk. Like:
ifIndex.1 = 1
real 0m0.065s
ifIndex.2 = 2
real 0m0.063s
ifDescr.1 = eth0
real 0m0.075s
ifDescr.2 = sit0
real 0m0.072s
etc...
We've used a packet sniffer in the past. We walk the MIB and the
sniffer keeps track of the packet send/receive times. But I'm
wondering if this might be a handier little tool for doing such a
job. Looking at the man page, it doesn't seem so...
...maybe an easier way to handle this is through some option given
to snmpwalk. But without turning on debugging which may slow the
system down a bit. Any ideas?
Thanks,
Carlos
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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