on 01-22-2016 4:31 PM
Hi,
If i go to CMC>Instance Manager i can see the Completion Time, Expiry and Server name listed for failed instances.
How can i get it using the code. I believe Expiry is SI_ENDTIME, for completion time i tried SI_COMPLETION_TIME did not work.
For server i am using this code - Select * From CI_SYSTEMOBJECTS Where SI_KIND='Server' and SI_NAME='Server.AdaptiveJobServer'
I think this is not correct, any other way to capture it?
Appreciate your help.
Thanks,
Arun
For the completion time of the failure, you'll use SI_UPDATE_TS.
For the server, look for the "SI_MACHINE_USED" property in the SchedulingInfo for the schedule. This will tell you where the report ran.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I checked in the instance manager and i think the End time = Expiry time and Completion time is different. Because we have an instance that failed yesterday and Start time is showing yesterday, completion time also yesterday, but the Expiry time is showing today as it ran successfully today.
I made the SI_ENDTIME in the code as completion time, but it brings today's date-time which is same as the Expiry time.
Arun
Ok i found out from this place Instance duration. The properties of CI_INFOOBJECTS.SI_STARTTIME and end time should be used instead of the SI_SCHEDULING.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.