Name
free — stdin stdout - file -- opt --help --version
Synopsis
free [options]The free command displays
memory usage in kilobytes:
$ free
total used free shared buffers cached
Mem: 523812 491944 31868 0 67856 199276
-/+ buffers/cache: 224812 299000
Swap: 530104 0 530104The Linux kernel reserves as much memory as possible for
caching purposes, so your best estimate of free RAM in the preceding
output is in the buffers/cache
row, free column (i.e.,
299000K).
Useful options
|
|
Run continuously and
update the display every |
|
|
Display amounts in bytes. |
|
|
Display amounts in megabytes. |
|
|
Add a totals row at the bottom. |
|
|
Don’t display the “buffers/cache” row. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access