sysUptime uses gettimeofday

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAASqVJWNpCgo4To5eCxFAmbdRTTOh-+=mPMEyWtMdM-NikPkyA@mail.gmail.com>
Hi All,

I believed that sysUpTime is counter that increments  every seconds. But In
net-snmp code ,
 sysUpTime being calculated as difference between 'snmpd-starttime' and
'current time' .

I would like to know reason for sysUpTime been calculated as difference in
time instead of incremental-counter.
Is there any constraints ?


Thank you,
Pushpa Thimmaiah

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.