Linux system Performance Tuning related commands summary:
1. PS: See which processes are currently running in the system
Common commands are PS aux | Grep-i MySQL
Http://www.cnblogs.com/peida/archive/2012/12/19/2824418.html
2. Top: Dynamic display of the CPU, memory usage, and load of each program
Http://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316399.html
3. Overall load of IO, process IO load, load from a file (Iotop,pt-ioprofile)
http://blog.csdn.net/dyllove98/article/details/8882163
4. Iotop: Display disk IO information
Http://blog.chinaunix.net/uid-434226-id-3297460.html
5. Use of Iostat:
You can view the TPS on the disk, read and write volumes per second, and how busy the disk is
Can be used to view information about the CPU
http://www.orczhou.com/index.php/2010/03/iostat-detail/
6. Vmstat: Rarely used
Includes server CPU usage, memory usage, virtual memory exchange, IO Read and write conditions
Http://www.cnblogs.com/ggjucheng/archive/2012/01/05/2312625.html
4. Tcprstat: Traffic load on port, response time, request volume
http://www.bo56.com/tcprstat%E5%88%86%E6%9E%90%E6%9C%8D%E5%8A%A1%E7%9A%84%E5%93%8D%E5%BA%94%E9%80%9F%E5%BA%A6% e5%88%a9%e5%99%a8/
https://my.oschina.net/moooofly/blog/157063
5.NETSTAT Network program Communication IP, port, service process number related information (display IP traffic)
Https://linux.cn/article-2434-1.html
Common commands are
NETSTAT-ANTP: Displays information about all TCP connections
NETSTAT-TNLP: Lists TCP in the listener
NETSTAT-ANLP: List all the listening
6.iftop: Network interface traffic monitoring, can be specific to a specific IP address traffic sending and transfer status
Http://os.51cto.com/art/201303/387240.htm
7.lsof: View the file handle opened by the program (deleted data that can be used to recover)
Http://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316599.html
Http://www.cnblogs.com/peida/archive/2013/02/26/2932972.html
The method of high IO load positioning:
Http://www.cnblogs.com/cenalulu/archive/2013/04/12/3016714.html
Http://www.cnblogs.com/no7dw/archive/2012/10/17/2727692.html
This article is from the "SQL Server MySQL" blog, so be sure to keep this source http://dwchaoyue.blog.51cto.com/2826417/1865752
Linux system Performance Tuning related commands summary