您的当前位置:首页正文

Linux nmon 命令

2024-11-27 来源:个人技术集锦

nmon 是一个资源监控工具,能够监控 Linux 系统资源( cpu,memory,network,disks )的使用情况,常见用法如下:

[root@localhost ~]$ yum install -y nmon
[root@localhost ~]$ nmon    
+nmon-16g------[H for help]---Hostname=localhost----Refresh= 2secs ---17:14.17--------------------------------------------------------------------------------------------------------------+
|                                                                                                                                                                                           |
|   ------------------------------                                                                                                                                                          |
|    _ __  _ __ ___   ___  _ __          For help type H or ...                                                                                                                             |
|   | '_ \| '_ ` _ \ / _ \| '_ \          nmon -?  - hint                                                                                                                                   |
|   | | | | | | | | | (_) | | | |         nmon -h  - full details                                                                                                                           |
|   |_| |_|_| |_| |_|\___/|_| |_|                                                                                                                                                           |
|                                        To stop nmon type q to Quit                                                                                                                        |
|   ------------------------------                                                                                                                                                          |
|                                                                                                                                                                                           |
|   CentOS release 6.5 (Final) CentOS release 6.5 (Final)                                                                                                                                   |
|   Vendor=GenuineIntel Model=Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz                                                                                                                       |
|   MHz=3201.000 bogomips=6402.00          lscpu:CPU=4 Little Endian                                                                                                                        |
|   ProcessorChips=1 PhyscalCores=2              Sockets=2 Cores=2 Thrds=1                                                                                                                  |
|                    VirtualCPUs =4              MHz=3201 max=0 min=0                                                                                                                       |
|                                                                                                                                                                                           |
|   Use these keys to toggle statistics on/off:                                                                                                                                             |
|     c = CPU         l = CPU Long-term     - = Faster screen updates                                                                                                                       |
|     C = " WideView  U = Utilisation       + = Slower screen updates                                                                                                                       |
|     m = Memory      V = Virtual memory    j = File Systems                                                                                                                                |
|     d = Disks       n = Network           . = only busy disks/procs                                                                                                                       |
|     r = Resource    N = NFS               h = more options                                                                                                                                |
|     k = Kernel      t = Top-processes     q = Quit                                                                                                                                        |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

 

 

 

 

 

 

    

    

转载于:https://www.cnblogs.com/pzk7788/p/10336803.html

显示全文