This function returns the time that the system was turned on based on the number of seconds since the current epoch.
Syntax
This function has the following format:
snmpGetUpSinceTime(Long upTime)
Parameters
The number of seconds since the beginning of the current epoch. You can get the system uptime from the following OID: 1.3.6.1.2.1.1.3.0. Convert it into centiseconds before you pass it in.
Return Values
Returns the time that the device was powered on in the form of total seconds since the current epoch.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|