设为首页 加入收藏

TOP

浅析vmstat命令(四)
2014-11-24 07:55:18 来源: 作者: 【 】 浏览:19
Tags:浅析 vmstat 命令
that occurred in the sample interval.

If the -I flag is specified, an I/O oriented view is presented with the following column changes.

kthr The column p will also be displayed besides columns r and b.
p
Number of threads waiting on I/O to raw devices per second.
page New columns fi and fo will be displayed instead of re and cy columns.
fi
File page-ins per second.
fo
File page-outs per second.

If, while the vmstat command is running, there is a change in system configuration that will affect the output, vmstat prints a warning message about the configuration change. It then continues the output, after printing the updated system configuration information and the header.

If the -l flag is specified, an additional "large-page" section is displayed with the following columns:

alp
Indicates the number of large pages currently in use.
flp
Indicates the number of large pages on the large page freelist.

If the -p option is specified, additional lines of VMM statistics are displayed for the specified page sizes. With -I and -t options, the -p option produces an additional line for the specified page size. This line contains the following VMM statistics relevant to the specified page size:

  • avm
  • fre
  • re
  • fi
  • fo
  • pi
  • po
  • fr
  • sr
  • cy Note: The disply of the re, fi, fo, and cy options are affected by the -I option.

    These VMM statistics are preceded by a psz column and followed by an siz column. The description of these two columns follows:

    psz
    Page size (for example, 4K, 64K).
    siz
    Number of frames of the specified page size that exist on the system.

    With the -s option, the -p option produces a separate stanza of output that contains only the statistics relevant to the specified page size. This additional stanza is preceded by a page size header.

    The -P option produces the following report for the specified page size:

    pgsz
    Indicates the page size (for example, 4K, 64K).
    Memory
    Indicates the memory statistics for the specified page sizes.
    siz
    The number of frames of the specified page size that exist on the system.
    avm
    Active virtual pages applicable to the specified page size.
    fre
    Size of the free list for the specified page size.
    Page
    Indicates the relevant page faults and paging activity for the specified page size. The page related columns re, pi, po, fr, sr, cy, fi, and fo are also applicable to this report.

    Flags

    Note: If the -f (or -s) flag is entered on the command line, then the system will only accept the -f (or -s) flag and will ignore other flags. If both -f and -s flags are specified, the system will accept only the first flag and ignore the second flag.
    -f Reports the number of forks since system startup.
    -i Displays the number of interrupts taken by each device since system startup. Note: The -I, -t, -w, and -l flags are ignored when they are specified with the -i flag.
    -I Displays I/O oriented view with the new columns of output, p under heading kthr,and columns fi and fo under heading page instead of the columns re and cy in the page heading.
    -l Displays an additional "large-page" section with the alp and flp columns.
    -p pagesize Appends the VMM statistics for the specified page size to the regular vmstat output.
    -P pagesize Displays only the VMM statistics which are relevant for the specified page size.
    -s Writes to standard output the contents of the sum structure, which contains an absolute count of paging events since system initialization. The-s flag can only be used with the -v flag. These event
    首页 上一页 1 2 3 4 5 6 7 下一页 尾页 4/7/7
    】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
    分享到: 
    上一篇Mysql有无groupby对max函数查询结.. 下一篇hbase:应用开发,hbase表操作及..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Python爬虫教程(从 (2025-12-26 16:49:14)
·【全269集】B站最详 (2025-12-26 16:49:11)
·Python爬虫详解:原 (2025-12-26 16:49:09)
·Spring Boot Java: (2025-12-26 16:20:19)
·Spring BootでHello (2025-12-26 16:20:15)