# US 2006/0156072 A1 · System and method for monitoring a computer apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0156072 A1
- Document ID: US20060156072A1
- Status: Published application
- Kind: A1
- Application number: 11/186,565
- Filed: 2005-07-21
- Published: 2006-07-13
- Earliest claimed: 2004-01-10
- Inventors: Prakash Khot; Rutvik Doshi; Kartik Shankaranarayanan; Rajendra Jodhapurkar; Silvio DeVincentis
- Web page: https://patentgrep.com/patent/US20060156072A1

## CPC

- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for monitoring a computer application, including selecting the computer application, inputting condition information, monitoring the computer application and generating an alert when a condition of the selected computer application satisfies the condition information. The monitoring step may be accomplished by inserting dynamic watchers into 1 byte code of the computer application that generates notification messages upon occurrence of certain events. The data included in the notification messages may be used to determine the value of selected parameters related to the computer application which is then compared to threshold levels input by the user as part of the condition information to determine a condition of the computer application. The alert is generated when the condition of the computer application indicates that there is a problem and that an alert is to be generated.

## Claims

### Claim 1

A method for monitoring a computer application comprising:
selecting the computer application;
inputting condition information;
monitoring the computer application; and
generating an alert when a condition of the computer application satisfies predetermined condition information.

### Claim 2 (depends on 1)

The method of claim 1, wherein the computer application is selected based on selection information input by a user via a user interface.

### Claim 3 (depends on 2)

The method of claim 2, wherein the computer application is one of an enterprise java bean and a servlet.

### Claim 4 (depends on 3)

The method of claim 3 wherein the selecting step further comprises:
selecting a server on which the computer application operates;
selecting at least one computer application from a plurality of computer applications running on the selected server to be monitored;
inputting a monitoring interval indicating a period of time during which the computer application is monitored; and
inputting a wait number indicating a number of monitoring intervals during which the condition of the computer application satisfies the predetermined condition information prior to generating the alert.

### Claim 5 (depends on 4)

The method of claim 4, wherein the step of inputting condition information further comprises:
selecting at least one method of a plurality of methods performed by the selected computer application to be monitored.

### Claim 7 (depends on 6)

The method of claim 6, wherein the step of inputting condition information further comprises:
selecting at least one parameter of a plurality of parameters related to the selected method to be monitored, wherein the plurality of parameters includes an average execution time of the method during the monitoring interval, a minimum execution time of the method during the monitoring interval, a maximum execution time of the method during the monitoring, interval, a method invocation count indicating a number of times the method is invoked during the monitoring interval and a method thread count indicating a number of threads handling a method request during the monitoring interval.

### Claim 8 (depends on 7)

The method of claim 7, wherein the step of inputting condition information further comprises:
inputting at least one threshold level for determining a status of the at least one selected parameter.

### Claim 9 (depends on 8)

The method of claim 8, wherein the monitoring step further comprises inserting at least one dynamic watcher into byte code of the computer application to monitor the computer application, wherein the dynamic watcher generates a notification message upon detection of any one of a plurality of events in the computer application.

### Claim 10 (depends on 9)

The method of claim 9, wherein the plurality of events includes loading the computer application, starting the selected method of the computer application, ending the selected method of the computer application and accessing the method via a thread.

### Claim 11 (depends on 10)

The method of claim 10, wherein the notification message generated by the dynamic probe includes data indicating a type of the computer application, a thread ID indicating the identity of the thread that invoked the computer application, a name indicating a name of the computer application invoked, and time information including one of a start time and an end time of the selected method of the computer application.

### Claim 12 (depends on 11)

The method of claim 11, wherein the monitoring step further comprises:
publishing the data included in the notification message generated by the dynamic watcher.

### Claim 13 (depends on 12)

The method of claim 12 wherein the generating step further comprises:
processing the data included in the notification message to determine a value for each of the selected parameters;
comparing the value of each of the selected parameters to the at least one threshold level of the selected parameter to determine a status of the computer application; and
generating the alert when the status of the computer application indicates that the alert is to be generated.

### Claim 14

A system for monitoring a computer application comprising:
an interface device adapted to allow a user to select a computer application to be monitored and to input condition information; and
a monitoring device adapted to monitor the selected computer application, wherein the interface device generates an alert when a condition of the selected computer application determined based on a result of the monitoring performed by the monitoring device satisfies predetermined condition information.

### Claim 15 (depends on 14)

The system of claim 14, wherein the interface device comprises a graphical user interface allowing a user to input information.

### Claim 16 (depends on 15)

The system of claim 15, wherein the interface device allows the user to select a server running a plurality of computer applications and to select at least one computer application from the plurality of computer applications running on the selected server to be monitored and to input a monitoring interval indicating a period of time during which the selected computer application is to be monitored.

### Claim 17 (depends on 16)

The system of claim 16, wherein the interface device allows the user to input a waiting number indicating a number of monitoring intervals during which the condition of the computer application satisfies the predetermined condition information prior to generating the alert.

### Claim 18 (depends on 17)

The system of claim 17, wherein the condition information comprises method information indicating at least one method of a plurality of method used by the selected computer application to be monitored, parameter information indicating at least one parameter of a plurality of parameters related to the selected method to be monitored and threshold information indicating at least one threshold level for the at least one selected parameter for determining the status of the computer application.

### Claim 19 (depends on 18)

The system of claim 18, wherein the plurality of parameters includes an average execution time of the method during the monitoring interval, a minimum execution time of the method during the monitoring interval, a maximum execution time of the method during the monitoring interval, a method invocation count indicating a number of times the method is invoked during the monitoring interval and a method thread count indicating a number of threads handling a method request during the monitoring interval.

### Claim 20 (depends on 19)

The system of claim 19, wherein the monitoring device further comprises:
an insertion device adapted to insert dynamic watchers into the byte code of the selected computer application, wherein the dynamic watchers generate a notification message upon occurrence of each of a plurality of events in the computer application; and
a publication device adapted to publish data included in the notification messages to the interface device.

### Claim 21 (depends on 20)

The system of claim 20, wherein the plurality of events comprise loading of the computer application, beginning execution of the selected method, ending execution of the selected method and accessing of the computer application by a thread.

### Claim 22 (depends on 21)

The system of claim 21, wherein the notification message comprises data indicating a type of the selected computer application, a thread ID indicating the identity of the thread that invoked the computer application, a name indicating a name of the selected computer application invoked, and time information including one of a start time and an end time of the selected method of the computer application.

### Claim 23 (depends on 22)

The system of claim 22, wherein the publication device sends data corresponding to each notification message generated by the at least one dynamic watcher to the interface device.

### Claim 24 (depends on 23)

The system of claim 23, wherein the interface device processes the data corresponding to each notification message to determine a value for each selected parameter and compares the value of each selected parameter to the threshold value the selected parameter to determine a status of the computer application.

### Claim 25 (depends on 24)

The system of claim 24, wherein the interface device generate the alert when the status of the computer application is a predetermined status.

### Claim 26

A computer system comprising:
a processor; and
a program storage device readable by the computer system, embodying a program of instructions executable by the processor to perform method steps for monitoring a computer application, the method steps comprising:
selecting the computer application;
inputting condition information;
monitoring the computer application; and
generating an alert when a condition of the computer application satisfies predetermined condition information.

### Claim 27 (depends on 26)

The computer system of claim 26, wherein the computer application is selected based on selection information input by a user via a user interface.

### Claim 28 (depends on 27)

The computer system of claim 27, wherein the computer application is one of an enterprise java bean and a servlet.

### Claim 29 (depends on 28)

The computer system of claim 28, wherein the selecting step further comprises:
selecting a server on which the computer application operates;
selecting at least one computer application from a plurality of computer applications running on the selected server to be monitored;
inputting a monitoring interval indicating a period of time during which the computer application is monitored; and
inputting a wait number indicating a number of monitoring intervals during which the condition of the computer application satisfies the predetermined condition information prior to generating the alert.

### Claim 30 (depends on 29)

The computer system of claim 29, wherein the step of inputting condition information further comprises:
selecting at least one method of a plurality of methods performed by the selected computer application to be monitored.

### Claim 31 (depends on 30)

The computer system of claim 30, wherein the step of inputting condition information further comprises:
selecting at least one parameter of a plurality of parameters related to the selected method to be monitored, wherein the plurality of parameters includes an average execution time of the method during the monitoring interval, a minimum execution time of the method during the monitoring interval, a maximum execution time of the method during the monitoring interval, a method invocation count indicating a number of times the method is invoked during the monitoring interval and a method thread count indicating a number of threads handling a method request during the monitoring interval.

### Claim 32 (depends on 31)

The computer system of claim 31, wherein the step of inputting condition information further comprises:
inputting at least one threshold level for the at least one selected parameter for determining a status of the computer application.

### Claim 33 (depends on 32)

The computer system of claim 32, wherein the monitoring step further comprises inserting at least one dynamic watcher into byte code of the computer application to monitor the computer application, wherein the dynamic watcher generates a notification message upon detection of any one of a plurality of events in the computer application.

### Claim 34 (depends on 33)

The computer system of claim 33, wherein the plurality of events includes loading the computer application, starting the selected method of the computer application, ending the selected method of the computer application and accessing the method via a thread.

### Claim 35 (depends on 34)

The computer system of claim 34, wherein the notification message generated by the dynamic probe includes data indicating a type of the computer application, a thread ID indicating the identity of the thread that invoked the computer application, a name indicating a name of the computer application invoked, and time information including one of a start time and an end time of the selected method of the computer application.

### Claim 36 (depends on 35)

The computer system of claim 35, wherein the monitoring step further comprises:
publishing the data included in the notification message generated by the dynamic watcher.

### Claim 36 (depends on 35)

The computer system of claim 35, wherein the generating step further comprises:
processing the data included in the notification message to determine a value for each of the selected parameters;
comparing the value of each of the selected parameters to the at least one threshold level of the selected parameter to determine a status of the computer application; and
generating the alert when the status of the computer application indicates that the alert is to be generated.
