free
free功能说明:显示内存状态。
语 法: free [-bkmotV][-s <间隔秒数>]
补充说明:free指令会显示内存的使用情况,包括实体内存,虚拟的交换文件内存,共享内存区段,以及系统核心使用的缓冲区等。
参 数:
-b 以Byte为单位显示内存使用情况。
-k 以KB为单位显示内存使用情况。
-m 以MB为单位显示内存使用情况。
-o 不显示缓冲区调节列。
-s<间隔秒数> 持续观察内存使用状况。
-t 显示内存总和列。
-V 显示版本信息。
free
free [options]
Display statistics about memory usage: total free, used, physical, swap, shared, and buffers used by the kernel.
Options
Calculate memory in bytes.
Default. Calculate memory in kilobytes.
Calculate memory in megabytes.
Do not display "buffer adjusted" line. The -o switch disables the display "-/+ buffers" line that shows buffer memory subtracted from the amount of memory used and added to the amount of free memory.
Check memory usage every time seconds.
Display all totals on one line at the bottom of output.
Display version information.