Linux performance monitoring tool nmon installation and usage tutorial analysis

Linux performance monitoring tool nmon installation and usage tutorial analysis

1. Introduction to nmon

Nmon (Nigel's Monitor) is a free tool provided by IBM for monitoring AIX and Linux system resources. This tool can collect the server system resource consumption and output it to a specific file, and can use Excel analysis tools (Nmon Analyser) to perform statistical analysis of the data.

An open source performance monitoring tool that monitors resource consumption information of a Linux system and can output the results to a file, and then generate data files and graphical results through the nmon_analyser tool.

2. Installation and use of nmon software

1. Software Download

Linux online installation:

wget

http://sourceforge.net/projects/nmon/files/nmon_linux_14i.tar.gz

Official website download path:

http://nmon.sourceforge.net/pmwiki.php?n=Site.Download

Choose the appropriate version, my Linux is centos

2. Software Installation

1. The downloaded software is a tar compressed file

2. Unzip it

tar -zxvf nmon_linux_14i.tar.gz

After decompression, the picture is as follows:

3. Software Usage

1. Since the nmon_x86_64_centos6 file does not have execution permissions, grant it permissions first

chmod +x nmon_x86_64_centos6

2. Use nmon to start monitoring the system

Parameter explanation:

-s 10 Collect data every 10 seconds.

-c 60 collects data 60 times, that is, collects data for ten minutes.

-f The generated data file name includes the time when the file was created.

-m The directory where the generated data files are stored.

Get the following files:

4. nmon file analysis

Analysis tool download address:

https://www.ibm.com/developerworks/community/wikis/home?lang=en

Transfer the previously generated nmon data file to a Windows machine and open the analysis tool with Excel.

Click the "Analyze nmon data" button in the Excel file and select the nmon data file. This will generate an analysis result file: hostname_090824_1306.nmon.xls. Open the generated file with Excel to see the results.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Detailed explanation of the performance monitoring ideas of specified processes in Linux system based on Python
  • A brief introduction to Linux performance monitoring commands free
  • PHP+swoole+linux to achieve system monitoring and performance optimization operation example
  • Detailed explanation of using top command to analyze Linux system performance
  • Detailed explanation of Linux server status and performance related commands
  • Detailed explanation of Linux performance test pmap command
  • 20 Linux server performance optimization tips worth collecting
  • Tutorial on using http_load, a web performance stress testing tool, under Linux
  • Four ways to achieve web data synchronization under Linux (performance comparison)
  • Linux+Nginx+Php to build a high-performance WEB server

<<:  Detailed explanation of MySQL date addition and subtraction functions

>>:  Detailed explanation of MySQL cumulative calculation implementation method

Recommend

Usage and best practice guide for watch in Vue3

Table of contents Preface🌟 1. API Introduction 2....

How to use Celery and Docker to handle periodic tasks in Django

As you build and scale your Django applications, ...

Implementation of installing and uninstalling CUDA and CUDNN in Ubuntu

Table of contents Preface Install the graphics dr...

How to install babel using npm in vscode

Preface The previous article introduced the insta...

Linux implements automatic and scheduled backup of MySQL database every day

Overview Backup is the basis of disaster recovery...

Problems and solutions for MYSQL5.7.17 connection failure under MAC

The problem that MYSQL5.7.17 cannot connect under...

25 Ways and Tips to Increase Web Page Loading Speed

Introduction <br />Not everyone has access t...

Example code of how to implement pivot table in MySQL/MariaDB

The previous article introduced several methods f...

How to query and update the same table in MySQL database at the same time

In ordinary projects, I often encounter this prob...

Detailed explanation of Docker basic network configuration

External Access Randomly map ports Using the -P f...