Skip to content

Commit 3b22a2b

Browse files
committed
Update Nmon.md
1 parent 7bb6b12 commit 3b22a2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Nmon.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
- 实时监控:`nmon`
2121
- 后台监控:`cd /opt ; nmon -f -s 10 -c 360`
22+
- 前面的 cd /opt 表示,进入 opt 目录,nmon 生成的文件是在当前目录下。
2223
- -f :按标准格式输出文件名称:<hostname>_YYYYMMDD_HHMM.nmon
2324
- -s :每隔n秒抽样一次,这里为10秒
2425
- -c :取出多少个抽样数量,这里为360,即监控=10*360/3600=1小时

0 commit comments

Comments
 (0)