Linux command-line tools:
1, Top command: can display the system each process occupies the resource condition.
2. SAR command: the system CPU and memory can be sampled periodically.
3,vmstate command: It can count the CPU and memory usage and swap usage information, can also be periodically statistical information.
4.iostat Command : Provide detailed IO information
5,pidstat command: not only can detect the process, but also to detect threads.
Windows Inspection Tools:
1. Task Manager
2. Perfmon Performance tool
3. Process Exploer
4, PSLIST
JDK Tools:
1. JPS List Java process
2, Jstate Java Runtime Information Viewing tool, able to view heap information
3. Jinfo View extension parameters for Java programs
4.JMAP Viewing statistics on snapshots and objects
5.JHAT Analyzing the contents of a heap snapshot
6.jstack Export the thread stack for Java applications
7,jstatd support RMI that can transfer the local information to the remote computer
Hprof Tool It is not a standalone tool, it is a Java Agent tool that can monitor the CPU information heap information of Java Program runtime
JConsole Java comes with a graphical performance detection tool. Ability to monitor memory, threads, class loading, virtual machine information, and more
Visual VM is a multi-in-one graphical performance detection tool that integrates a variety of new capability detection tools. Can replace some of the JDK's own tools, if JSTATE,JPS, etc.
The Mat full name Memory Analyzer is a powerful Java heap analysis tool capable of analyzing heap memory leaks and viewing memory usage information.
The Jprofiler tool is a powerful performance monitoring tool with a commercial nature.
Its features include: memory analysis, snapshot analysis, CPU analysis, threading analysis, JVM performance information collection, and so on.
JVM principle and Performance Tuning series (tuning tools)