CENTOS6.6下nmon的监控

本文来自我的github pages博客http://galengao.github.io/ 即www.gaohuirong.cn

Installing Nmon

By default nmon is available in the Ubuntu repository. You can easily install nmon by running the following command:

yum install  nmon

How to Use Nmon to Monitor Linux Performance
Once the installation has been finished, you can launch it by typing the nmon command in the terminal.

nmon

You wI’ll see the following output:

nmon

You can see from the above screenshot that the nmon command-line utility runs completely in interactive mode, and you can easily toggle statistics using shortcut keys.
You can use the following nmon keyboard shortcuts to display different system stats:

q : to stop and exit Nmon
h : to see help screen
c : see CPU stats
m : see memory stats
d : see disk stats
k : see kernel stats
n : see network stats
N : see NFS stats
j : see file system stats
t : see top process
V : see virtual memory stats
v : verbose mode  

Check CPU by Processor

If you would like to collect some statistics on CPU performance, you should hit the c key on the keyboard.
After hitting the c key you wI’ll see the following output.

nmon

Check Top Process Statistics

To get stats on top processes that are running on your system, press the t key on your keyboard.
You will see the following output.

nmon

Check Network Statistics

To get the network stats of your Linux system, just press the n key on your keyboard.
You wI’ll see the following output:

nmon

Disk I/O Graphs

Use the d key to get information about disks.
You wI’ll see the following output:

nmon

Check Kernel Information

A most important key to use with this tool is k; it is used to display some brief information on the kernel of your system.
You will see the following output after hitting the k key on your keyboard.

nmon

Get System Information

A very useful key for every system admin is the r key which is used to give information on different resources such as machine architecture, operating system version, Linux version and CPU.
You will see the following output by hitting the r key.

nmon

还有许多其他的工具做的和 Nmon 同样的工作,不过 Nmon 对一个 Linux 新手来说还是很友好的。 Nmon 监控 Linux 的系统性能

[原文链接]https://www.maketecheasier.com/monitor-linux-system-performance/

转载于:https://www.cnblogs.com/galengao/p/5755682.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值