Use of Linux monitoring Nmon and analyser

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.