Nmon Online installation and use

Source: Internet
Author: User
Tags touch command

Installation

mkdir/usr/local//usr/local/nmonwget http://sourceforge.net/projects/nmon/files/777 Nmon_x86_64_sles11
[[email protected] soft] # chmod 755 Nmon_x86_64_rhel5
[Email protected] soft]# chmod 755 nmon_linux_x86_64

Start

./Nmon_x86_64_sles11. /nmon_linux_x86_64

Description

Press C to display CPU information, and then press C to close

Display memory by M

Press N to display the network

Press D to display the hard drive

Nmon Run

Nmon can be run interactively
L Start the tool./NMON_X86_SLES10
L Use the single-touch command to view the data you need. For example, to get CPU, memory, and disk statistics, start Nmon and enter: C m D
For help information, press the H key.
Use the following keys to toggle the display state:

c = CPU L = CPU long-term  -= Faster screen updates  = Memory J = filesystems + == Disks n = netw Ork v == Resource N = NFS v == Kernel T = top-processes. = only busy disks/= more options q = Quit

Capturing data to a file
Capture data to a file as soon as you run the Nmon command with the-f flag. After you execute nmon–f * * *, Nmon will be run in the background. To see if the process is still running, you can enter:

Ps-ef | grep Nmon


Example:
Captures data snapshots every 1 seconds, capturing 20 times

Nmon–f-s 1-c 20


Captures data snapshots every 30 seconds, captures 120 times, contains process information

Nmon–ft-s 30-c 120


The command will create an output file in the current directory with the name:

Nmon_analyser
The Nmon_analyser tool takes the files generated by the Nmon Performance tool as input, and then converts them into Microsoft Excel spreadsheets and automatically generates the corresponding graphics.
The script generation *.xls file is not executed correctly using WPS. Recommended for Excel 2000 or later, you must select Enable macros in the Open Nmon_analyser.
The Nmon_analyser tool is designed for the latest version of Nmon, but is also tested with older versions for backward compatibility reasons. The tool is also updated whenever an update is made to the Nmon.

Nmon Online installation and use

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.