---
title: "NMON"
author: "enshiwzw"
date: "2010-12-31T09:28:51Z"
tags: []
categories: ["研发管理"]
slug: "nmon"
draft: false
lastmod: "2010-12-31T09:28:51Z"
id: 856509
url: "https://ibmtech.iteye.com/blog/856509"
---

一般用法：第一步，收集数据

nmon \[-h] \[-s &lt;seconds&gt;] \[-c &lt;count&gt;] \[-f -d &lt;disks&gt; -t -r &lt;name&gt;] \[-x]

 

-h            FULL help information

Interactive-Mode:

read startup banner and type: "h" once it is running

For Data-Collect-Mode (-f)

-f            spreadsheet output format \[note: default -s300 -c288]

optional

-s &lt;seconds&gt;  between refreshing the screen \[default 2]

-c &lt;number&gt;   of refreshes \[default millions]

-d &lt;disks&gt;    to increase the number of disks \[default 256]

-t            spreadsheet includes top processes

-x            capacity planning (15 min for 1 day = -fdt -s 900 -c 96)

 

#-s12 每次采集数据的时间间隔。

#-c50 采集 50 次。

#-f 生成的数据文件名中包含文件创建的时间。

#-m 生成的数据文件的存放目录。

./nmon -s10 -c60 -f -m /data/nmondata

 

 

第二步：分析数据，使用提供的EXCEL脚本