Some time ago in the performance analysis of the company's projects, from a simple analysis of log (GC log, postgrep log, Hibernate statitistic), through the AOP to collect software running data, to pet testing, feel time spent a lot, performance also has a certain increase, But it always feels like working in primitive times, unable to be simple and smooth, and to achieve the desired result with great clarity. It took a while to learn from the new comb the various tools that have been used befo
Some time ago in the performance analysis of the company's projects, from a simple analysis of log (GC log, postgrep log, Hibernate statitistic), through the AOP to collect software running data, to pet testing, feel time spent a lot, performance also has a certain increase, But it always feels like working in primitive times, unable to be simple and smooth, and to achieve the desired result with great clarity. It took a while to learn from the new comb the various tools that have been used befo
Original article:
Http://www.infoq.com/cn/news/2011/08/jprofiler7
J-Technologies Co., Ltd. released jprofiler 7.0 some time ago. Jprofiler is a Java SE/EE profiling tool that features CPU analysis, memory analysis, thread analysis, and Vm telemetry. New Features of version 7.0 include:
Analyze the built-in probes for JDBC, JMS, JNDI, Servlet, files, sockets, a
, but in fact, looking at those charts, I just want to say I don't understand .... Follow-up and further study, this time is just a simple first look at some.3.1 Jprofiler feature introduction and use:can refer to: http://www.cnblogs.com/zhangyaxiao/p/6678385.html (very good article, inside the menu view of the function of the detailed introduction, how to use the menu function, need to experience the actual self)3.2 Practical Use Tutorial reference:
: Jprofiler to solve the performance of Java server tracking, if the reader's English reading ability than strong can also click on the toolbar help, directly read English, The following sections are also referenced from the English API. 3.2.1 Memory views"now renamed Live Memory"The memory view portion of Jprofiler can provide a dynamic memory usage update view
parameter that follows "Java" when the Java program is started. Because I use tomcat, the startup script of Tomcat is started up. add this line to the java_opts parameter in Sh. (In fact, there will still be many failures caused by detailed problems. This is all the background. For example, these command line parameters may conflict with the original parameters. I started to do this many times and failed,
Java profiling toolJProfilerIt can be integrated with a variety of IDES and application servers. This article mainly introduces jprofiler andIntelliJ IDEA Integration.
1. Choose Session> IDE integrations from the main menu of JProfiler. It is worth noting that IntelliJ IDEA needs to be disabled when the plug-in is installed. If you run the installation program t
Java profiling toolJprofilerProvides 4 differentProfiling Mode, The three modes involvedJprofiler Gui. Therefore, you can view and analyze the data immediately. The fourth mode does not involve the jprofiler gui. It is an offline profiling mode.
1. Attach Mode
For profiling Java 1.6 or later, jprofiler supports con
JavaPerformance analysis toolsProfiler provides two completely different methods for profiling applicationsProgram. By default, you can useJprofiler GuiFor application performance analysis. The jprofiler GUI provides a button for you to start and close records and displays all analysis data for you. If you do not want to use the jprofiler GUI profiling program, you can useJprofilerProvidedOffline profilingF
1. Open JprofilerThe default is to start the Quick window "or use the menu Session→start Center" to openLocal Java programs are monitored here, so theMain interface2. Viewing the Monitoring interfaceYou can then view the amount of Instance count instance data and size, etc.You can also view the heap and other information by mailSee Example: http://www.cnblogs.com/langtianya/p/3172180.htmljava-jprofiler-perf
From Xuwanbest blog so-called "工欲善其事, its prerequisite", good tools can play the role of half-times. The most I have used is two jconsole and Jprofiler. Jconsole monitors system memory changes, and if there is a memory overflow, garbage collection will appear jagged. After discovering the problem, use Jprofiler to monitor the object changes under small pressure (or no pressure) and locate the cause of memo
Ext.: http://www.cnblogs.com/adolfmc/archive/2013/06/09/3129358.htmlNote: Use Rpm-q Jprofiler to find out if Jprofiler 1 is installed on Linux before installing. Download the Linux installation package to the official website, such as: JPROFILER_LINUX_7_1_1.RPM2. Upload the installation package to the LINXU server/ Opt directory, rename: MV jprofiler_linux_7_1_1.rpm jprofiler7.rmp (The rename step is option
Integrated into Eclipse,(Close eclipse before performing the consolidation)Main Menu –> session–>ide intergrations–> Select Eclipse (a version)
Perform "Integrate" and select the folder where eclipse resides. such as: D:\Java\eclipse
4 Start Eclipse in D:\eclipse\eclipse.exe–clean (the purpose is to clear the plug-in cache, only the first time you add this parameter)
5. Configure Jprofiler in Eclipse.
Main
JProfiler is a well-known software used for monitoring and analysis of java systems. It has powerful functions and can monitor common java applications, applets, java web start, and application server. In addition to monitoring local programs, you can also monitor applications running on remote servers. This article ta
variablesOn the remote host, enter:echo Export ld_library_path= $LD _library_path:/root/jprofiler/bin/linux-x64 >>/etc/profileSource/etc/profileConfigure Jprofiler in the tomcat boot file (the tomcat of the Java Project You need to monitor in the startup file) , See ( The selected part is what's new ) vi/usr/tomcat1/bin/catalina.sh Add the following information:
Jprofiler is a commercially licensed Java profiling tool primarily for Java EE and javase application development. It combines the profiling of CPUs, threads, and memory in a powerful application. Jprofiler provides many IDE consolidation and application server consolidation purposes.
Jprofiler is a full-featured Java Profiling Tool (Profiler) that is used primarily to examine and track the performance of a system (limited to Java development).Jprofiler can monitor the operation of the JVM and its performance by monitoring the memory usage of the system and monitoring the garbage collection, thread
port 8739 (Note: Check whether the server-side corresponding port is open or occupied), the Jprofiler default port is 8849 (don't use 80 or 8080 of these well-known ports);(11) After the click completes, will produce a startup_jprofiler.sh script locally (with startup.sh same directory), this script is more than the original startup.sh the following passage:# The following lines have been added by the# Application Server Integration Wizard of Jprofil
Introduced
Jprofiler is a full-featured Java profiling Tool (Profiler) designed to analyze J2SE and EE applications.
Jprofiler is a commercially mandated Java profiling tool developed by EJ Technology Limited for Java EE and Java
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.