Servlet monitoring tool
AssigneeInternational Business Machines Corporation
InventorsWilliam L. Hunt, John W. Lamb JR.
Life of this patent
Estimating the term…
Abstract
Server performance is monitored by inserting code into servlets running on the server. Code is inserted at the servlet beginning to record start time, servlet name and input parameters in a table in memory on the server. Code is also inserted at the exit and exception points of the servlet to record stop time in the table and to determine whether to add this information in the table to an array in a web page a log file. The web page or log file is then examined to determine server performance.
Claims16
A method of monitoring server performance, comprising the steps of:
- providing one or more servlets on a server;
- inserting code at the beginning of each of said servlets to record, when executed, its start time in a table in memory on said server;
- inserting code at the exit or exception points of each of said servlets, to record its stop time in said table, and to check whether to add recorded servlet execution information to a servlets array in a web page;
- and
- sending said servlets array to an application.
A method of monitoring server performance, comprising the steps of:
- providing one or more servlets on a server;
- inserting code at the beginning of each of said servlets to record, when executed, its start time in a table in memory on said server;
- inserting code at the exit or exception points of each of said servlets, to record its stop time in said table, and to check whether to add recorded servlet execution information to a log file on said server;
- and
- formatting and displaying said log file with a file editor.
A system for monitoring server performance, comprising:
- a server having a memory and one or more servlets;
- means for inserting code at the beginning of each of said servlets to record, when executed, its start time in a table in said memory;
- means for inserting code at the exit or exception points of each of said servlets, to record its stop time in said table, and to check whether to add recorded servlet execution information to a servlets array in a web page on said server;
- and
- means for sending said servlets array to a browser.
A computer program product for instructing a processor to monitor performance of a server having a memory and a plurality of servlets, said computer program product comprising:
- a computer readable medium;
- first program instruction means for inserting code at the beginning of each of said servlets to record, when executed, its start time in a table in said memory;
- second program instruction means for inserting code at the exit or exception points of each of said servlets, to record its stop time in said table, and to check whether to add recorded servlet execution information to a servlets array in a web page on said server;
- and
- third program instruction means for sending said servlets array to a browser;
- and wherein
- all said program instruction means are recorded on said medium.
Dependencies are inferred from the claim text.