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 takes JBoss as an example to briefly introduce the installation, configuration and use of
, 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 actua
rpminstallation version, .sh installation version and .tar.gz compression version. sh version. after/jprofiler3.sh-Q is installed, jprofile is installed in the/var/jprofiler3 path on Linux. (This is the result if I directly run the installation without modifying any configuration files, the purpose is to use it so you don't want to spend time researching it ).
Step 2: Run jprofiler on the local gui. Choose
The JProfiler tool was used during the test several months ago. Although I had some experiences, I kept it in my mind. I also gave my colleagues an entry-level training course, but I was unable to sort it out. Later I wrote it in a hurry with the help of others.
: Http://files.cnblogs.com/wuhou/jprofilerinstallation and use on linux.rar
Preface:
The latest version of J
In recent work, jprofiler is used to solve the memory leakage problem. Now we have recorded the detection steps and some analysis results, and we can use them as a reference when we encounter similar problems in the future.
Running Environment: tomcat6, jdk6, jprofiler8
Memory leakage: 1. when performing some batch operations on the server, it is found that the memory only rises or falls; even after GC, the
1: Modify/etc/profileAdd the following content:Jprofiler_home=/opt/jprofiler9/bin/linux-x64Export ld_library_path= $LD _library_path: $JPROFILER _home2:tomcat/bin/catalina.shAdd the following content:catalina_opts= "$CATALINA _opts-xms128m-xmx128m $JPDA _opts-agentlib:jprofilerti=port=8849-xbootclasspath/a:/opt/ Jprofiler9/bin/agent.jar "3: Install jprofiler_linux_9_0_1.sh (directly execute)4: Start Tomcat5: Install Jprofiler_windows_9_0_1.exe6: Can e
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
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
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.
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, and processes.
You can
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 Menu –>window–>customize perspective–>command
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: java_opts= "$JAVA _opts-agentlib:jprofilerti
1. Introduction to the Environment:
Linux Server: CentOS release 5.9 (x86)
Web container: Tomcat6
Jdk:jdk1.6.0_17
Client: Windows XP (x86)
Jdk:jdk1.6.0_20
2. Installation package:
Linux Server: jprofiler_linux_6_2_4.rpm
Download Address: http://download.csdn.net/detail/rachel_luo/5217224
Client: Jprofiler_windows_6_2_4.exe
Download Address: http://download.csdn.net/detail/rachel_luo/5217273 Note: Download package contains the registration code and the use
directly jprofiler_windows-x64_9_0_ 3.exe always Next to the place where you enter the registration code, the following is the registration code you can use l-larry_lau@163.com#36573-fdkscp15axjj6#25257 (pro-Test available) L-larry_ lau@163.com#5481-ucjn4a16rvd98#6038 l-larry_lau@163.com#99016-hli5ay1ylizjj#27215 L-Larry_Lau@163.com# 40775-3wle0g1uin5c1#0674 l-larry_lau@163.com#7009-14frku31ynzpfr#20176 l-larry_lau@163.com# 49604-1jfe58we9gyb6
, Jprofiler provides the following views:
Threading History ThreadDisplays an activity schedule that is associated with thread activity and thread state.
Threading Monitoring Thread MonitorDisplays a list of all active threads and their current activity status.
Deadlock Detection Chart Deadlock DetectionDisplays a deadlock chart that contains all of the deadlocks in the JVM.
Currently used monitor current monitor useageDi
threads and their current activity status.
Deadlock Detection Chart Deadlock DetectionDisplays a deadlock chart that contains all of the deadlocks in the JVM.
Currently used monitor current monitor useageDisplays the monitors that are currently in use and includes their associated threads.
History Test Records historical usageDisplays a history of significant wait events and blocking events.
Monitoring Usage Status Monitor usage stati
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, y
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.