• linux vmstat使用说明


    FIELD DESCRIPTION FOR VM MODE
       Procs
           r: The number of processes waiting for run time.
    表示运行队列,就是说多少个进程真的分配到CPU
           b: The number of processes in uninterruptible sleep.
    阻塞的进程数
    
       Memory
           swpd: the amount of virtual memory used.
           free: the amount of idle memory.
           buff: the amount of memory used as buffers.
           cache: the amount of memory used as cache.
           inact: the amount of inactive memory. (-a option)
           active: the amount of active memory. (-a option)
    
       Swap
           si: Amount of memory swapped in from disk (/s). 从磁盘换入内存的大小
    
           so: Amount of memory swapped to disk (/s). 从内存换到磁盘的大小
    
       IO
           bi: Blocks received from a block device (blocks/s).
           bo: Blocks sent to a block device (blocks/s).
    
       System
           in: The number of interrupts per second, including the clock.
           cs: The number of context switches per second.
    
       CPU
           These are percentages of total CPU time.
           us: Time spent running non-kernel code. (user time, including nice time)
           sy: Time spent running kernel code. (system time)
           id: Time spent idle. Prior to Linux 2.5.41, this includes IO-wait time.
           wa: Time spent waiting for IO. Prior to Linux 2.5.41, included in idle.
           st: Time stolen from a virtual machine. Prior to Linux 2.6.11, unknown.
    
    
    [oracle@june ~]$ vmstat 1 10
    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
     r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
    15  0  90432  12384 103336 475724    1    1   143   126   45   51  5  5 88  2  0
     8  0  90432  15036 103336 475724    0    0     4     8 1008  277 24 76  0  0  0
    15  0  90432  11472 103336 475728    0    0    56    68 1552  461 24 76  0  0  0
    13  1  90432  16732 103344 475740    0    0    52   276 1189  386 21 79  0  0  0
    15  0  90432  34044 103344 475740    0    0    32    60 1041  312 14 86  0  0  0
    13  0  90432  26852 103344 475748    0    0    24     4 1013  248 24 76  0  0  0
    13  0  90432  18668 103344 475748    0    0     4     4 1018  274 28 72  0  0  0
    14  1  90432  13832 103344 475756    0    0    68    48 1244  360 16 84  0  0  0
    15  1  90432  20900 103348 475752    0    0    28   304 1027  328 19 81  0  0  0
    14  1  90432  28092 103348 475768    0    0    44    16 1021  274 17 83  0  0  0

  • 相关阅读:
    (原)Vs中debug和release结果不一致
    (原)mkl用到的函数
    JAVA JDBC 批量操作
    JAVA JDBC 操作blob数据
    JAVA JDBC 利用反射对一个表动态查询
    JAVA JDBC 查询数据
    JAVA JDBC 插入中文时声明utf8编码
    JAVA JDBC prepareStatement 添加数据
    JAVA JDBC 连接数据库
    unzip命令指定编码格式
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13352297.html
Copyright © 2020-2023  润新知