Skip to main content

Start up time

3 replies [Last post]
swens2
Offline
Joined: 2010-10-11
Points: 0

Hi,

I want to know whether there exists API to get system(CISCO-box) start time.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
swens2
Offline
Joined: 2010-10-11
Points: 0

As you suggested I am using org.ocap.diagnostics APIs. The System up time will be returned in ASN.1 format of the MIB when MIBObject.getData() method is used.

Can you plz suggest how encoding and decoding format will occur or an algorithm to decode the data.

greg80303
Offline
Joined: 2008-07-03
Points: 0

There is no OCAP API available to applications that will return the last time the set-top box was booted. I can imagine a situation where an OCAP host might provide this information in a SNMP OID which could then be retrieved by an OCAP application using the org.ocap.diagnostics APIs -- however, I don't believe that there is any sort of standardized OID established for this that applications can rely on.

G

swens2
Offline
Joined: 2010-10-11
Points: 0

thanx for the suggestion...