free 3.3.10 命令詳解


詳細展示 RAM (物理內存)、Swap (交換內存) 統計信息。

另請參閱: pidstat     top     uptime     vmstat

基本用法     詳細用法

root:~# free
              total        used        free      shared  buff/cache   available
Mem:         499700      290096       12472       54776      197132      124244
Swap:       1048572           0     1048572
root:~#
			

基本語法

free [options]
			

Options 選項

參數 EN 解釋 中文翻譯 備注
-b, --bytes show output in bytes 以 Byte 為單位展示輸齣
-k, --kilo show output in kilobytes 以 KB 為單位展示輸齣
-m, --mega show output in megabytes 以 MB 為單位展示輸齣
-g, --giga show output in gigabytes 以 GB 為單位展示輸齣
--tera show output in terabytes 以 TB 為單位展示輸齣
-h, --human show human-readable output 以人類可讀方式展示輸齣
--si use powers of 1000 not 1024 使用 1000 而不是 1024 的冪
-l, --lohi show detailed low and high memory statistics 詳細展示低內存和高內存統計信息
-t, --total show total for RAM + swap 展示 RAM + Swap 總計
-s N, --seconds N repeat printing every N seconds 每隔 N 秒重復打印
-c N, --count N repeat printing N times, then exit 重復打印 N 次,然後退齣
-w, --wide wide output 寬輸齣
--help display this help and exit 顯示此幫助並退齣
-V, --version output version information and exit 輸齣版本信息並退齣

基本用法

功能 命令 文字解釋 示例 示例解釋
版本 free -V 展示版本信息
free --version
幫助 free --help 展示幫助信息

 

版權聲明: 本文為獨傢原創稿件,版權歸 樂數軟件 ,未經許可不得轉載。