zoukankan      html  css  js  c++  java
  • Linux命令:FREE

    FREE(1)                       Linux User's Manual                      FREE(1)

     

    NAME

           free - Display amount of free and used memory in the system

     

    SYNOPSIS

           free [-b | -k | -m] [-o] [-s delay ] [-t] [-l] [-V]

     

    DESCRIPTION

           free  displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.  The shared memory column should be ignored; it is obsolete.

     

       Options

           The -b switch displays the amount of memory in bytes; the -k switch (set by default) displays it in kilobytes; the -m  switch  displays  it  in megabytes.

     

           The -t switch displays a line containing the totals.

     

           The  -o switch disables the display of a "buffer adjusted" line.  If the -o option is not specified, free subtracts buffer memory from the used memory and adds it to the free memory reported.

     

           The -s switch activates continuous polling delay seconds apart. You may actually specify any floating point number for delay, usleep(3) is used for microsecond resolution delay times.

     

           The -l switch shows detailed low and high memory statistics.

     

           The -V switch displays version information.

     

    FILES

           /proc/meminfo-- memory information

     

    SEE ALSO

           ps(1), slabtop(1), vmstat(8), top(1)

     

    AUTHORS

           Written by Brian Edmonds.

     

           Send bug reports to <albert@users.sf.net>

     

    Cohesive Systems                 20 Mar 1993                           FREE(1)

    (END)

    ---------------------------------------------------------------------------------------

    示例:

    root@Slave3.Hadoop:[/root]free -m -t
                 total       used       free     shared    buffers     cached
    Mem:          8002       7747        254          0         44       2174
    -/+ buffers/cache:       5528       2473
    Swap:         8015       3002       5013
    Total:       16018      10750       5267

     

     

  • 相关阅读:
    武汉大学数学专业考研试题参考解答
    中山大学数学专业考研试题参考解答
    北京大学数学专业考研试题参考解答汇总
    一些泛函分析题目
    人生感言
    数学分析高等代数考研试题荟萃[更新至2017年12月28日]
    数学分析高等代数考研试题荟萃[更新至2017年12月15日]
    2017-2018-1 实变函数
    2017-2018-1 点集拓扑
    Latex "Error: Extra alignment tab has been changed to cr. "
  • 原文地址:https://www.cnblogs.com/javafan/p/3771947.html
Copyright © 2011-2022 走看看