• Linux nmon 命令


    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                                                                                                                                        |
    +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

        

        

  • 相关阅读:
    Spring+JCaptcha验证码使用示例
    Hibernate-Session使用的背后
    DWR+Spring配置使用
    Spring+Quartz配置定时任务
    利用HtmlParser解析网页内容
    利用HttpClient4访问网页
    利用Common-Fileupload上传文件图片
    利用Common-BeanUtils封装请求参数
    浮点数的一点东西
    基数排序——浮点数结构体进阶
  • 原文地址:https://www.cnblogs.com/pzk7788/p/10336803.html
Copyright © 2020-2023  润新知