%st
Mem: k total, k used, k free, k buffers
Swap: k total, k used, k free, k cached
PID...1.命令格式:
free [参数]
2.命令功能:
free 命令显示系统使用和空闲的内存情况,包括物理内存、交互区内存(swap)和内核缓冲区内存。...-V 显示版本信息
下面给出相关示例:
#简单参数介绍
[dba_mysql@tk-dba-mysql-194 ~]$ free -G
free: invalid option -- 'G'
usage...: free [-b|-k|-m|-g|-h] [-l] [-o] [-t] [-s delay] [-c count] [-V]
-b,-k,-m,-g show output in bytes,.../cache:
Swap:
#以Mb为单位来显示空闲内存情况
[dba_mysql@tk-dba-mysql-194 ~]$ free -m