[Script - DL7] Monitor statistics via web service ?

Figured to post it in here instead of the DL7 beta forum as perhaps some other with DL6 experience can help too.
Before I ask what I want to ask… maybe it would be a good option to have a separate script/api section in the deadline forum as it’s near to impossible to search 3000+ threads to find only those with scripting references. Would be easier to read prior solutions via a sub-forum

that aside is it possible to:

1- access the Job Details as they are shown in the monitor via the webservice?
eg. under statistics it shows the following items

Running Time 01:12:20:22 Estimated Time Remaining 02:03:35:44+ Total Task Time 00:11:13:30 Total Task Startup Time 00:00:00:00 Total Task Render Time 00:10:51:57 Total Normalized Task Render Time 00:10:51:57 Average Task Time 00:00:04:22 Average Task Startup Time 00:00:00:00 Average Task Render Time 00:00:04:14 Average Normalized Task Render Time 00:00:04:14 Average Frame Time 00:00:04:14 Average Normalized Frame Time 00:00:04:14 Peak RAM Usage 3.731 GB Peak CPU Usage 100 % Average RAM Usage 291.961 MB Average CPU Usage 85 %

2- access some total farm statistics as shown in the monitor?

  • the used % of totally available Ghz utilization shown on in the slaves bar
  • total count of slaves in the farm

3- is there a way to read how many licenses there are in total and how many are still available at the moment ?

at this moment I can’t seem to find a way to extract these directly via the api/webservice without making my own calculation based on the job details.
Which is a pitty as it seems to have been calculated already

Hi Marnix,
Unfortunately this info isn’t currently available via the Pulse web service. I have added a feature request to add methods to retrieve this info via Pulse and also via the scriptAPI (for #2 & #3). In the case of #1 - Job Stats, this is actually already available via the scriptAPI, so if you were calling a python script in the context of the Deadline environment or via deadlinecommand.exe, then you can presently grab all that stat information. However, this method isn’t currently exposed to the web service, so we need to see if we can add that for you.
Mike

Thanks for the quick response!

Would be great to have these things available as it’s interesting information for farm statics.
I’m guessing that the #1 won’t be available soon? :slight_smile: