Test pressure when using a simple Linux monitoring tool Nmon, not only real-time monitoring, can also generate files with icon style display, small and practical
Installing Nmon
Nmon is actually a tarball directly extracted to the directory to be placed, and then directly run it can
#tar-ZXVF nmon_linux_14i.tar.gz-c/data/program
#./nmon_x86_64_centos6
Note that if you don't want to write as complicated as you do, you can use alias to simplify
Run
real-time monitoring , direct input C (CPU) m (memory) after operation, can be directly H (Help) view
Chart detection
#nmon-ft-s 10-c 20 (Run once per 10s, run 20 times, can be customized)
#ps Aux|grep Nmon (see if run ends, generate Localhost_150707_1103.nmon file after end)
Pass the Localhost_150707_1103.nmon file through SecureCRT's SZ command to Windows
#sz Localhost_150707_1103.nmon
If you do not have the SZ command, install #yum installation lrzsz-y and execute the above command, the transferred files can be located in the option/session to view the path
Chart analysis
Open Nmon Analyser V34a.xls, set macro security, direct point to the Analyze button, the chart will be automatically generated
PS: Here I have a problem nmon analyser "Runtime error 62, input beyond the end of file", my workaround is to replace the analyser version
Final results
(the picture didn't pass)
Use of Linux monitoring Nmon and analyser