共计 294 个字符,预计需要花费 1 分钟才能阅读完成。
[v_act]格式:free [options]
-h:自适应单位显示[/v_act]
不加任何选项以单位KB显示
[root@localhost ~]# free
total used free shared buff/cache available
Mem: 3866948 121408 3600428 8684 145112 3569740
Swap: 6143996 0 6143996
-h:自适应单位显示
[root@localhost ~]# free -h
total used free shared buff/cache available
Mem: 3.7G 118M 3.4G 8.5M 141M 3.4G
Swap: 5.9G 0B 5.9G
正文完