标签:eve http aries hose HERE fifo php totally message
Nmon is a resource monitoring tools which can monitor CPU, Memory, Disks, Network and even Filesystem on RHEL / Ubuntu systems. Java Nmon Analyzer is a tool that uses the nmon output as an input. It will graph the nmon output into an informative graph to make it easier to read. This article I will show you how to install and use nmon on linux.
Nmon is short for Nigel’s Performance Monitor. This tool is used to monitor resources on Linux, Power, x86, x86_64, Mainframe and ARM (Raspberry Pi). There is two mode available of nmon.
1. Online Mode, which used to real-time monitoring.
2. Capture Mode, which the output will saved to a CSV file for later processing.
Java Nmon Analyzer will use nmon output as an input data to be processed. So to use it, we will first need to have nmon installed and working on your system. Let’s start.
Nmon is specializing to monitor and analyzing performance which includes :
Nmon is available in binaries file or source code file for those who want to compile it by yourself. Binaries file is available on nmon download page while nmon source code is available in compiling nmon page. At this article is written, the latest version of nmon is 14g.
Method 1 : Using pre-compiled binaries file
Method 2 : Compile nmon from the source
If you want to compile nmon by yourself, here’s the steps :
$ make nmon_x86_ubuntu1304
Note :
If you found about no ncurses.h file, then you need to install ncurses-dev package.
On Debian / Ubuntu based, you can install it using:
$ sudo apt-get install libncurses5-dev
Actually, we don’t install Java Nmon Analyzer. But we just run it with Java. This tool can be downloaded from Java Nmon Analyzer download page. After you finish download it, here are the steps how to run it.
# mkfifo /tmp/nmonnamedpipe
# java -cp nmonanal_0.1.2.jar li.xiang.nmonanalyser.agent.Agent
The li.xiang.nmonanalyser.agent.Agent is a syntax. Don’t change it.
If it success, you will see a message below :
# nmon -s 20 -c 360 -F /tmp/nmonnamedpipe
20 second per snapshot, capture 360 snapshots, totally 2 hrs. you can put the command in crontab for long time data capture.
If it success, you will see an IP Address connected. See below :
# java -jar nmonanal_0.1.2.jar
A pop-up window name System Performance Monitor for LINUX & AIX will show. Then you need to load the data.
You can also choose to display the output within the specific time range. The available time range are :
With Java Nmon Analyzer, we can graph nmon output to make it easier to read. This application also easy to use because we don’t need to install it and it has simple menus to understand.
nmon +java nmon Alalizy agent 动态交互监控
标签:eve http aries hose HERE fifo php totally message
原文地址:https://www.cnblogs.com/SunshineKimi/p/12184796.html