2.7 essays & lt;, 2.7 Essays

Source: Internet
Author: User

2.7 <, 2.7

Enter the <script header = header> code type

Background monitoring

Cd/nmon

./Nmon_x86_64_sles11-f-s 30-c 120

The parameters are as follows:

-F output file in standard format:

-S: sample every n seconds. The value is 30.

-C: the number of samples taken out. The value here is 120, that is, monitoring = 120 * (30/60/60) = 1 hour.

The formula for calculating this number by hour is: c = h * 3600/s. For example, if you want to monitor for 10 hours and sample every 30 seconds, c = 10*3600/30 = 1200

After the command is started, a monitoring file is generated in the directory where nmon is located, and resource data is continuously written until monitoring is completed for one hour. These operations are automatically completed without manual preparation, testers can continue to perform other operations. If you want to stop the monitoring, You need to query the process number through "# ps-ef | grep nmon", and then kill the process to stop monitoring.

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.