a .net and java based system monitoring tool for the web

上传人:xins****2008 文档编号:115025857 上传时间:2019-11-12 格式:DOC 页数:112 大小:1.59MB
返回 下载 相关 举报
a .net and java based system monitoring tool for the web_第1页
第1页 / 共112页
a .net and java based system monitoring tool for the web_第2页
第2页 / 共112页
a .net and java based system monitoring tool for the web_第3页
第3页 / 共112页
a .net and java based system monitoring tool for the web_第4页
第4页 / 共112页
a .net and java based system monitoring tool for the web_第5页
第5页 / 共112页
点击查看更多>>
资源描述

《a .net and java based system monitoring tool for the web》由会员分享,可在线阅读,更多相关《a .net and java based system monitoring tool for the web(112页珍藏版)》请在金锄头文库上搜索。

1、A .NET and Java BasedSystem Monitoring ToolFor the WebInstructor: Dr. Kwok-Bun YueMentor: Grish BajajByRomeo T. ChuaAaron McDowellAmber PatelSyed UmairCapstone Project Fall 200501 December 2005ABSTRACTIt is a challenge for software engineers to support applications running at remote sites. Real-time

2、 performance data such as memory usage, network or disk utilization, etc. could be beneficial for detecting any performance bottlenecks or more serious problems after the product is deployed. System performance data, at the site where application is deployed, may be inaccessible to software develope

3、rs due to physical distances, firewalls or other security measures. Current tools, which are provided as built-in utilities by many modern operating systems or available as commercial and open source software, can only monitor a system locally or through a local network. A solution to this includes

4、building a web-based tool that would monitor and gather real-time performance data, which reflects the current state of remote system.In this report, we describe a web-based application built to monitor performance of a remote server system. The application is built for Microsoft server operating sy

5、stem, and works on the JBoss web application server. Windows performance data are made available by the operating system through performance counters that together represent the overall behavior of the systemTo monitor and collect these performance counter values, we have developed a set of .NET lib

6、rary routines. These library routines can also be easily accessed by other applications requiring performance counter values. A Java web application, built using Apache Struts, is interfaced with .NET library routines using Java-COM Bridge mechanism for providing remote access to performance data. T

7、he performance information gathered can be used by software engineers or system administrators to monitor applications and for troubleshooting.Table of ContentsABSTRACTii1.Introduction12.Design and Implementations22.1System Architecture22.2System Development32.2.1Performance Monitoring Module32.2.1.

8、1Prototyping32.2.1.2Initializing the System Monitoring Library42.2.1.3Getting the Performance Counter List42.2.1.4Performing the Monitoring62.2.1.5Performance Monitoring Result62.2.2Java-COM Bridge Using Jawin72.2.3Web Application72.2.3.1Structure72.2.3.2Getting Initial Counter Lists82.2.3.3Starting

9、 the Monitoring92.2.3.4Displaying Results92.3Monitoring Limitations92.4Evaluation103.Project management and Team information113.1Team Roles113.2Tasks113.3Task Assignments123.4Project Schedule144.Conclusion and Future Enhancements145.References156.Appendices17Appendix A Team Task Breakdown Charts18Ap

10、pendix B Project Schedule20Appendix C User Manual22Appendix D Installation Document27Appendix E Web Application Screenshots31Appendix F Sample XML Counter List, XML Results, and DTD36Appendix G .NET DLL Source Code44Appendix H - Web Application Source Code78List of FiguresFigure 1 - System Architect

11、ure Diagram2Figure 2 Structure of the PerformanceCounter Class in the .Net Framework5Figure 3 - CreateCounterListFile Usage5Figure 4 Performing the Monitoring6Figure 5 - Java Web Application Architecture8List of TablesTable 1 - Comparison of C# and Win32 Prototypes3Table 2 - Team Task Breakdown12iv1

12、.IntroductionMonitoring the real-time performance data of an application or a system from remote locations, physically away from the deployment site, is immensely helpful to software engineers in supporting their applications. Performance data in the Windows operating system is made accessible to ap

13、plications by means of performance counters. The number of counters (see Appendix F) depends on systems configuration. Examples of performance counters include Available Bytes, % Processor Time, %User Time etc. 4 that are attributes of performance objects such as Memory, Processor or Physical disk,

14、etc. These kinds of performance information would be useful in detecting any performance bottlenecks or more serious problems at the application site.Current tools 1256, which are provided as built-in utilities by many modern operating systems or available as commercial and open source software, can

15、 only monitor a system locally or through a local network. A solution to this problem includes building a web-based tool that would monitor and gather real-time performance data that reflects current state of remote system.In this report we describe our web-based application (see Appendix E) built to monitor performance of a remote server system. This application is a Capstone project 78 for the University of Houston-Clear Lake and is developed for Tietronix Inc. 9. The applic

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 大杂烩/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号