zoukankan      html  css  js  c++  java
  • top命令

    系统平均负载被定义为在特定时间间隔内运行队列中的平均进程数量。

    load average: 0.17, 0.44, 0.24    在过去的1、5、15分钟内运行队列中的平均进程数量

    Cpu(s):  0.4%us,  0.4%sy,  0.0%ni, 97.5%id,  1.1%wa,  0.4%hi,  0.4%si,  0.0%st

    1.用户空间占用CPU的百分比  

    2.内核空间占用CPU的百分比  

    3.改变过优先级的进程占用CPU的百分比

    4.空闲CPU百分比

    5.IO等待占用CPU的百分比

    6.硬中断(Hardware IRQ)占用CPU的百分比

    7.软中断(Software Interrupts)占用CPU的百分比

    PR: 

      The priority of the task.

    NI: 

      The nice value of the task. A negative nice value means higher priority, whereas a positive nice value means
    lower priority. Zero in this field simply means priority will not be adjusted in determining a task’s dis-
    patchability.

    VIRT: kb

      The total amount of virtual memory used by the task. It includes all code, data and shared libraries plus
    pages that have been swapped out. (Note: you can define the STATSIZE=1 environment variable and the VIRT will
    be calculated from the /proc/#/state VmSize field.)

    RES: kb

      The non-swapped physical memory a task has used.

    SHR: kb

      The amount of shared memory used by a task. It simply reflects memory that could be potentially shared with
    other processes.

    %CPU:

      The task’s share of the elapsed CPU time since the last screen update, expressed as a percentage of total CPU
    time. In a true SMP environment, if ’Irix mode’ is Off, top will operate in ’Solaris mode’ where a task’s cpu
    usage will be divided by the total number of CPUs. You toggle ’Irix/Solaris’ modes with the ’I’ interactive
    command.

    %MEM: (RES)

      A task’s currently used share of available physical memory.

    TIME+: CPU Time, hundredths

      The same as ’TIME’, but reflecting more granularity through hundredths of a second.

    COMMAND:

      Command line or Program name.

    相似命令: uptime, w , tload

  • 相关阅读:
    Redis之使用python脚本监控队列长度
    ELK之filebate收集日志传递至Logstash
    [转] SOLID五大设计原则
    [转] 面向对象原则之GOF是招式,九大原则才是精髓
    [转] (CQRS)命令和查询责任分离架构模式(一) 之 什么是CQRS
    [0] 四色原型
    [0] C#软件项目版本号的命名规则及格式介绍
    [0] AssemblyInfo.cs文件介绍
    [0] 服务器 TCP 提供程序无法在 [ 'any' <ipv4> *] 上侦听。TCP 端口已在使用中。
    [0] C#异常种类
  • 原文地址:https://www.cnblogs.com/foreverstars/p/4776428.html
Copyright © 2011-2022 走看看