Method, system and program product for capturing central processing unit (CPU) utilization for a virtual machine
First Claim
1. A method for capturing Central Processing Unit (CPU) utilization for a virtual machine, comprising:
- receiving a work request having a set of jobs in the virtual machine from a host, wherein the work request is accompanied by an account identifier;
creating a first account record for the work request;
processing the work request in the virtual machine to complete the set of jobs; and
creating a second account record for the work request in response to completion of the set of jobs, wherein the second account record indicates the CPU utilization for the virtual machine to process the work request.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention allows CPU utilization for a virtual machine (VM) to be captured from a perspective of a host. Specifically, under the present invention, a work request having a set (e.g., one or more) of jobs is received by a host and allocated to a virtual machine on a node. The work request is typically accompanied by an account identifier such as a multi-value billing code. Once the work request is allocated to a particular VM on the node, a “startacct” script is issued, and a first account record is created. Thereafter, the work request is processed and the CPU utilization needed to complete the set of jobs is monitored. Once the set ofjobs is completed, an “endacct” script is issued and a second account record is created. Among other things, the second account record includes the monitored CPU utilization and the account identifier.
51 Citations
24 Claims
-
1. A method for capturing Central Processing Unit (CPU) utilization for a virtual machine, comprising:
-
receiving a work request having a set of jobs in the virtual machine from a host, wherein the work request is accompanied by an account identifier;
creating a first account record for the work request;
processing the work request in the virtual machine to complete the set of jobs; and
creating a second account record for the work request in response to completion of the set of jobs, wherein the second account record indicates the CPU utilization for the virtual machine to process the work request. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for capturing Central Processing Unit (CPU) utilization for a virtual machine, comprising:
-
issuing a first script in response to a work request having a set of jobs received by the virtual machine from a host;
creating a first account record for the work request in response to the first script;
issuing a second script in response to completion of the set of jobs in the virtual machine; and
creating a second account record for the work request in response to the second script, wherein the second account record indicates the CPU utilization for the virtual machine to complete the set of jobs.
-
-
9. A system for capturing Central Processing Unit (CPU) utilization for a virtual machine, comprising:
-
a system for creating a first account record for a work request having a set of jobs received by the virtual machine from a host, wherein the work request is accompanied by an account identifier; and
a system for creating a second account record for the work request in response to completion of the set of jobs by the virtual machine, wherein the second account record indicates the CPU utilization for the virtual machine to complete the set of jobs. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A program product stored on a computer useable medium for capturing Central Processing Unit (CPU) utilization for a virtual machine, the computer useable medium comprising program code for causing a computer system to perform the following steps:
-
issuing a first script in response to a work request having a set of jobs received by the virtual machine from a host;
creating a first account record for the work request in response to the first script;
issuing a second script in response to completion of the set of jobs in the virtual machine; and
creating a second account record for the work request in response to the second script, wherein the second account record indicates the CPU utilization for the virtual machine to complete the set of jobs. - View Dependent Claims (19, 20, 21, 22, 23)
-
-
24. A method for deploying an application for capturing Central Processing Unit (CPU) utilization for a virtual machine, comprising:
providing a computer infrastructure being operable to;
issue a first script in response to a work request having a set of jobs received by the virtual machine from a host;
create a first account record for the work request in response to the first script;
issue a second script in response to completion of the set of jobs in the virtual machine; and
create a second account record for the work request in response to the second script, wherein the second account record indicates the CPU utilization for the virtual machine to complete the set of jobs.
Specification