[cisco-voip] Timeticks anyone?

atticus at satanic.org atticus at satanic.org
Wed Mar 17 14:44:12 EST 2004


localtime( ( ( time() * 100 ) - sysUptime.0 ) + timeticks ) / 100 )

SNMP timeticks are 100th's of a second. In every case I'm aware of, IOS
MIB's will report as ticks-since-boot. Likewise, subtract the system's
uptime (sysUptime.0) w/ current time (time()) which will give you the time
of the last boot, then add the timeticks for the event you're interested
in.


On Wed, 17 Mar 2004, Costin Manda wrote:

>   I am trynig to convert timeticks to timestamp. Does anyone know how? I
> wonder if there is some SNMP object that tells you what the time is and also
> what timeticks. Is there?
>
>
>   Thanks in advance,
> Costin
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>


More information about the cisco-voip mailing list