shell:free(显示内存状态)

Linux free命令用于显示内存状态。

free指令会显示内存的使用情况,包括实体内存,虚拟的交换文件内存,共享内存区段,以及系统核心使用的缓冲区等。

Usage:
 free [options]

Options:

  •  -b, --bytes         show output in bytes
  •  -k, --kilo          show output in kilobytes
  •  -m, --mega          show output in megabytes
  •  -g, --giga          show output in gigabytes
  •      --tera          show output in terabytes
  •  -h, --human         show human-readable output
  •      --si            use powers of 1000 not 1024
  •  -l, --lohi          show detailed low and high memory statistics
  •  -t, --total         show total for RAM + swap
  •  -s N, --seconds N   repeat printing every N seconds
  •  -c N, --count N     repeat printing N times, then exit
  •  -w, --wide          wide output
  •      --help     display this help and exit
  •  -V, --version  output version information and exit

猜你喜欢

转载自blog.csdn.net/weixin_40179091/article/details/112913343