Chinmay,

This the time since how long the SNMP agent is active on the system. See
URL: http://sourceforge.net/mailarchive/message.php?msg_id=12156362 for
more information.

Sridhar

On Mon, 04 Jul 2005 12:11:02 +0530, "chinmay bhat"
<[EMAIL PROTECTED]> said:
> 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/listinfo/net-snmp-users

-- 
http://www.fastmail.fm - Email service worth paying for. Try it 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/listinfo/net-snmp-users

Reply via email to