This is a discussion on getUpTime Problem. within the SNMP Users forums, part of the Networking and Network Related category; hi all, I have written a subagent where i want to get the System Up time.I have used the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hi all,
I have written a subagent where i want to get the System Up time.I have used the function u_long myTime = netsnmp_get_agent_uptime();(I think this is the best way.) but the problem is the myTime value i am getting is 24678457, that is , Tue Oct 13 20:37:37 1970.but i dont think thats the correct value. Can anybody tell me what might have gone wrong? is there any other method to get System Up time? regards Chin __________________________________________________ _______________ Claim your space online! http://www.msn.co.in/spaces Share your world for free! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ 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/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|