Method and system for tracking kernel resource usage
First Claim
Patent Images
1. A method for tracking kernel resource usage comprising the steps of:
- generating a tag to charge a process allocated with kernel resources;
determining whether the process is a kernel process or a user process; and
, flagging the tag to indicate whether the process is a kernel process or a user process based upon the determination step.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and computer system for tracking kernel resource usage is disclosed that tracks kernel resources allocated to user processes called from the user level of the operating system. A tag of the user processes is generated, which allows a way to identify the user processes and associate allocated kernel resources to the user process. As a result, the user processes can be charged for kernel resources.
63 Citations
34 Claims
-
1. A method for tracking kernel resource usage comprising the steps of:
-
generating a tag to charge a process allocated with kernel resources;
determining whether the process is a kernel process or a user process; and
,flagging the tag to indicate whether the process is a kernel process or a user process based upon the determination step. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for tracking kernel resource usage comprising the steps of:
-
generating a tag to charge a process allocated with kernel resources;
determining whether the process is a first predefined process or a second predefined process; and
,saving an identifier to the tag to identify whether the process is a first predefined process or a second predefined process based upon the determination step. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method for tracking kernel resource usage comprising the steps of:
-
generating a tag to charge a process called from user level of an operation system allocated with kernel resources;
saving a tag value to the tag to identify the kernel resources allocated to the user process; and
,saving a user process identifier to the tag to identify the user process. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
-
21. A method for tracking kernel resources allocated to kernel and user processes indicated by a plurality of tags, the method comprising the steps of:
-
identifying an amount of kernel resources allocated to a process indicated by a selected tag;
saving an association of the identified amount of kernel resources allocated with the process to a file;
identifying a type of the kernel resources allocated to the process indicated by the selected tag; and
,saving an association of the identified type of the kernel resources allocated with the process to the file. - View Dependent Claims (22, 23, 24)
-
-
25. A method for managing kernel resource usage comprising the steps of:
-
reading a usage policy, wherein the usage policy includes data relating to threshold limits according to processes and kernel resource type;
searching a file to determine an amount of kernel resources used by each process, wherein the file includes a plurality of tags having a tag value identifying the kernel resources allocated to the process, a process identifier identifying the process allocated with the kernel resources, a flag identifying whether the process is a first predefined process or a second predefined process, and a kernel resource type identifying the type of kernel resources allocated to the process;
determining whether the amount of kernel resource usage exceeds the threshold limits according to the user policy; and
,taking an action according to the usage policy when the amount of kernel resource usage is over the threshold limits. - View Dependent Claims (26)
-
-
27. A computer-readable medium having stored thereon a data structure, comprising:
-
a first field containing a user process identifier to identify a user process allocated with kernel resources; and
,a second field containing a value to identify kernel resources allocated to the user process. - View Dependent Claims (28, 29)
-
-
30. A computer-readable medium having computer-executable instructions for performing steps comprising:
-
generating a tag to charge a process allocated with kernel resources;
determining whether the process is a kernel process or a user process; and
,flagging the tag to indicate whether the process is a kernel process or a user process based upon the determination step.
-
-
31. A computer-readable medium having computer-executable instructions for performing steps comprising:
-
generating a tag to charge a process allocated with kernel resources;
determining whether the process is a first predefined process or a second predefined process; and
,saving an identifier to the tag to identify whether the process is a first predefined process or a second predefined process based upon the determination step.
-
-
32. A computer-readable medium having computer-executable instructions for performing steps comprising:
-
generating a tag to charge a process called from user level of an operating system allocated with kernel resources;
saving a tag value to the tag to identify the kernel resources allocated to the user process; and
,saving a user process identifier to the tag to identify the user process.
-
-
33. A computer-readable medium having computer-executable instructions for performing steps comprising:
-
identifying an amount of kernel resources allocated to a process indicated by a selected tag;
saving an association of the identified amount of kernel resources allocated with the process to a file;
identifying a type of the kernel resources allocated to the process; and
,saving an association of the identified type of the kernel resources allocated with the process to the file.
-
-
34. A computer-readable medium having computer-executable instructions for performing steps comprising:
-
reading a usage policy, wherein the usage policy includes data relating to threshold limits according to processes and kernel resource type;
searching a file to determine an amount of kernel resources used by each process, wherein the file includes a plurality of tags having a tag value identifying the kernel resources allocated to the process, a process identifier identifying the process allocated with the kernel resources, a flag identifying whether the process is a first defined process or a second defined process, and a kernel resource type identifying the type of kernel resources allocated to the process;
determining whether the amount of kernel resource usage exceeds the threshold limits according to the user policy; and
,taking an action according to the usage policy when the amount of kernel resource usage is over the threshold limits.
-
Specification