2009/4/3 malar vizhi <malar...@gmail.com>:
> If I convert theresult to.integer am getting only "7385700"

Yes - that is the value of this type.
It's an integer count.


> not the whole result "(7385700) 20:30:57.00"...

That is how the value is *displayed* by the Net-SNMP library.
If you call one of the print value routines, giving it a value
of type TimeTicks - that's what you'll get back.

But the value itself is a simple integer.


> that "7385700"-- is in seconds?

No.
Please read the definition of sysUpTime (in SNMPv2-MIB)
and the definition of TimeTicks (in SNMPv2-SMI)
    These both tell you exactly what units are used.

Dave

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to