Jobs

Gets lifetime summary statistics for all of the jobs in the specified account.

Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.

get/lifetimejobstats

Query parameters

timeoutinteger

The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

api-versionstring required

Client API Version.

Headers

client-request-idstring

The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

return-client-request-idboolean

Whether the server should return the client-request-id in the response.

ocp-datestring date-time-rfc1123

The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

Response

A response containing the job statistics for the lifetime of the Batch account.

urlstring required
startTimestring date-time required
lastUpdateTimestring date-time required
userCPUTimestring duration required
kernelCPUTimestring duration required
wallClockTimestring duration required
readIOpsinteger required
writeIOpsinteger required
readIOGiBnumber double required
writeIOGiBnumber double required
numSucceededTasksinteger required

A task completes successfully if it returns exit code 0.

numFailedTasksinteger required

A task fails if it exhausts its maximum retry count without returning exit code 0.

numTaskRetriesinteger required
waitTimestring duration required

The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics.

Changes