Nmon commonly used monitoring indicators

Nmon commonly used monitoring indicators

1. Detailed information collection parameters

nmon -s10 -c60 -f -m /home
-s10 Collect data every 10 seconds.

-c60 Collect 60 times, that is, collect ten minutes of data.

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

-m The storage directory of the generated data file.

2. Generate a nmon file and update it every ten seconds until ten minutes later.

The generated file name is such as: dzl_161119_1301.nmon, "dzl" is the host name of this host

3. Report (UTF-8'en'nmon_analyser_v51_2.zip)

Unzip and open the nmon analyser v51_2.xlsm file with excel (remember to enable the macro), as shown in the figure

4. Click the "Analyze nmon data" button to select the nmon format file, as shown in the figure

5. Automatically collect data by day (crontab -e timing task command)

0 0 * * * root nmon -s300 -c288 -f -m /home/ >/dev/null 2>&1

Note:

h = online help information

r = machine type, machine name, cache information and OS version + LPAR

c = CPU processor statistics bar graph

l = long-term CPU for bar graphs (more than 75 snapshots)

m = memory statistics

L = huge memory page statistics

V = virtual memory and swap statistics

k = internal statistics of the kernel

n = network statistics and errors

N = NFS network file system

d = Disk I/O diagram

D = Disk I/O statistics

o = Disk I/O mapping (a character on each disk shows how busy it is)

j = file system

t = Top-level process statistics use 1, 3, 4, 5 to select data and order

u = detailed information of the top-level process command

v = detailed and simple check-OK/Warn/Danger

b = black and white mode (or use-b option)

. = Minimal mode, that is, only busy disks and processes are displayed

key — Other Controls —

+ = Dual screen refresh time

-= Half the screen refresh time

q = exit (also x, e or control-C)

0 = Zero peak count reset (peak = ">")

space = Refresh the screen immediately  
————————————————
Copyright statement: This article is the original article of the CSDN blogger "Hua Lu Si Yu", following the CC 4.0 BY-SA copyright agreement, please reprint Attach a link to the original source and this statement.
Original link: https://blog.csdn.net/hualusiyu/article/details/78377585

Guess you like

Origin blog.csdn.net/weixin_42760923/article/details/107410568