As a Java program, master some of the performance analysis tools to locate and troubleshoot the system bottlenecks, this article only records some of their own use of some of the commands, follow-up will continue to add.
First, the SAR command
SAR (System activity Reporter report) is one of the most comprehensive system performance analysis tools available on Linux, which can be used to report the activities of the systems in many ways, including: Read and write of files, usage of system calls, disk I/O, CPU efficiency, Memory usage, process activity, and IPC-related activities. Introduction to the SAR command "Linux SAR command detailed ".
Second, top command
The top command is a common performance analysis tool under Linux that shows the current usage of the resources of each process in the system in real time, similar to the Task Manager for Windows. See "linux top command parameters in detail"
Performance analysis tools commonly used by Linux