Open Source Server Monitoring Tool-javamelody-class JVM intrinsic performance

Source: Internet
Author: User
Tags cpu usage

Open Source Server monitoring tool-javamelody  Javamelody It can monitor Java or Java EE application servers and graphically display: Java memory and Java CPU usage, number of user sessions, number of JDBC connections, and HTTP requests, SQL requests, The number of execution of JSP pages and business interface methods (EJB3, Spring, Guice), average execution time, error percentage, and so on. Charts can be viewed by day, week, month, year, or custom time period.  Although this tool is magical! But it's very convenient to use!  First you need to download two jar packages, respectively, Javamelody-1.16.0.jar,jrobin-1.5.9.1.jar, the first jar package is: http://code.google.com/p/javamelody/ Downloads/detail?name=javamelody-1.16.0.jar&can=2&q= The second jar package needs to download Javamelody-1.16.0.war First, then the package can be found under the extracted Lib, the war package is: http://code.google.com/p/javamelody/ Downloads/detail?name=javamelody-1.16.0.war&can=2&q= then put the two jar packages just now into the Webroot\web-inf\lib directory of your project.  then configure the Web. xml file with the following configuration: <filter> <filter-name>monitoring</filter-name> <filter-class>net.bull.javamelody.MonitoringFilter</filter-class> </filter> <filter-mapping> <filter-name>monitoring</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>net.bull.javamelody.SessionListener</listener-class> </listener> finally restart the project, open the link: http://localhost:8080/monitoring (where http://localhost:8080/is the root of the project), the magical scene will appear: The Javamelody has been successfully applied to our projects at this time!

Open Source Server Monitoring Tool-javamelody-class JVM intrinsic performance (RPM)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.