I want to know whether there exists API to get system(CISCO-box) start time.
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.
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.
thanx for the suggestion...
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.