>>>>> "AV" == Alef Veld <[EMAIL PROTECTED]> writes:

AV> The other question i have is, how do i calculate the uptime in days,
AV> because all i have is the number of timeticks. Or can you actually
AV> read out the days. I don't think so, so there must be some algorithm
AV> for that.

2 points:

1) sysuptime is in 1/100s of a second.  So you can calculate the
   number of days by sysUpTime/100/60/60/24.

2) it is defined as a 32 bit integer.  Thus it does wrap after that
   and you can't determine if it's been up longer than the wrap time.
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to