Patent ID: 8762993

Claim:
A method for capturing Central Processing Unit (CPU) utilization of a job virtual machine from a perspective of a host, wherein the host is in communication with a plurality of nodes, and each node includes a manager virtual machine and one or more job virtual machines, comprising: querying, by a job management service on the host, a plurality of manager virtual machines to select the node that has the best resource availability; receiving, by the manager virtual machine of the selected node, a work request, having a set of jobs, from the job management service, wherein the work request is accompanied by an account identifier assigned by the host; activating, by the manager virtual machine of the selected node, a job virtual machine of the selected node based on resource availability of the one or more job virtual machines of the selected node, to process the work request; creating, at the activated job virtual machine, a first account record for the work request in response to a first script with the account identifier being issued, the first account record including an indicator of a beginning of the work request and the account identifier; monitoring, at the activated job virtual machine, in response to the creating of the first account record, the CPU utilization of the processing of the set of jobs in the activated job virtual machine; and creating, at the activated job virtual machine, a second account record for the work request in response to a completion of the set of jobs and a second script without data being issued, the second account record including the CPU utilization for the activated job virtual machine to process the set of jobs, an indicator of an end of the work request, and the account identifier.