Reprint Please specify source: http://blog.csdn.net/supera_li/article/details/45221211
Installing Sysstat
Insufficient permissions to type Sudo–u admin before command
Granting file Execution Permissions chmod +x [Firename]
1. Download sysstat-10.0.5.tar.gz to Local
2. Uploading via the CRT using the RZ command
3. Unzip Zip:unzip Sysstat-10.0.5.tar.zip
Decompression GZ:TAR-ZXVF sysstat-10.0.5.tar.gz
4.CD in systat-10.0.5
5. Install the configuration./configure
6.make
7.make Install
About decompression:
1.unzip unzip a compressed file that has multiple files
2.tar unzip the individual.
Pidstat command
Performance Tuning Common Pidstat command diagram
When using Pidstat for problem targeting, the following commands are often used:
Pidstat-u 1
Pidstat-r 1
Pidstat-d 1
The above command takes 1 seconds for the information acquisition cycle, respectively, to obtain the CPU, memory and disk IO statistics.
Resources:
[1] Linux running process real-time monitoring Pidstat command detailed http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858874.html
[2] Sysstem installation
http://blog.csdn.net/lunarnan/article/details/7655069
[3] Decompression Unzip,tar http://blog.163.com/yao_knight/blog/static/1340341052012491213941/
To install Sysstat, use the Pidstat command