Use nmon to monitor Linux

Source: Internet
Author: User

Nmon monitors Linux Resources

View Linux: CAT/etc/issue

CAT/proc/version

Uname-

Download the corresponding nmon version based on the Linux Version Information

Http://www.ibm.com/developerworks/wikis/display/Wikiptype/nmon

Nmon for Linux

Http://nmon.sourceforge.net/pmwiki.php? N = site. Download

Nmon analyzer address:

Http://www-941.haw.ibm.com/collaboration/wiki/display/Wikiptype/nmonanalyser

The following uses nmon_x86_64_rhel4 as an example.

1. Use nmon:

Upload nmon_x86_64_rhel4 to the Linux Server

Ø 1.1 psftp.exe tool: Put-r File

Psftp.exe usage:

Enable ftpd service sshd restart in Linux

Set Path = D: \ puttyfile \ psftp.exe

Double-click psftp.exe to connect to the Linux system open

Upload the put-r folder name

Log on to the Linux server, go to the nmon_x86_64_rhel4 directory, and add the execution permission of nmon_x86_64_rhel4.

Chmod 744 nmon_x86_64_rhel4

Execute./nmon_x86_64_rhel4

Ø Note: This program can be run only in all nmon directories. If you want to run this file in any directory, you can put the nmon_x86_64_rhel4 file in the/usr/bin directory (I have not succeeded, no reason is found)

Ø if the file name of nmon_x86_64_rhel4 is too long, you can modify the file name nmon [MV nmon_x86_64_rhel4 nmon]

1.2 nmon data collection:

./Nmon-F-S 2-C 10

[Parameter description-F: the collected data core file is saved;-s: the data collection frequency, which indicates that the data is collected every two seconds;-C: the number of data collection times, 10 indicates a total of 10 collection times]

1.3 download the file to the local device after data collection

Ø the psftp.exe program downloads the file to the local get file name

2. Use the nmon Analyzer:

Generally, only Excel 2003 is supported.

Opening the analyzer may perform the following operations:

1. Download the Windows rights management (permission management service, RMS) client (this will automatically prompt you when opening the analyzer, just install it by step)

2. Reduce the macro security level (tool-macro-Security)

You can minimize the security level.

If the system automatically changes the security level back to "high,

You can only change the registry.

Start-Regedit

Find HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Office \ 11.0 \ Excel \ Security

Double-click "level" on the right, change the key value from 3 to "2" or "1" (corresponding to "medium" and "low" respectively), save and exit

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.