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

        

        

  • 相关阅读:
    基础学习总结(四)---内存获取、XML之PULL解析
    基础学习总结(三)--文本、SD卡数据读写
    基础学习总结(二)---认识布局与配置测试环境
    基础学习总结(一)--工程结构与打包过程
    StreamReader和StreamWrite与FileStream区别
    redis笔记
    linux 下文件显示行数
    php判断页面访问是移动端还是pc端
    redis
    判断链接是否为图片
  • 原文地址:https://www.cnblogs.com/pzk7788/p/10336803.html
Copyright © 2020-2023  润新知