Linux -- free 命令 内存适用状态监控

FREE

NAME

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

        显示内存的使用情况

SYNOPSIS

    free   [options]

 -b, --bytes    字节单位显示

 -k, --kilo     k 为单位显示

 -m, --mega   兆 (M)为单位

   -g, --giga    G为单位

 -h, --human    Show all output fileds automatically scaled to shortest three digit unit and 

          display the units of print out.

          按大小选择不同的单位显示数字,做到认读方便

-c, --count count    Display the result count times   -- 显示count次结果

-s, --seconds seconds     Continuously display the result delay seconds apart.

             每隔seconds显示一次

1 free -c 5 -s 10 -h          每隔10秒显示一次总共5次

(-s -c -h 选项的结合有点像精简版的top命令)

-l, --lohi     show detialed low and high memory statistics.

-o, --old     Display the output int old format.

-t, --total    Display a line showing the column totals.

--help Printf help

-V, --version

 

posted @ 2014-08-24 20:29  IceSword-syy  阅读(218)  评论(0编辑  收藏  举报