free(1) BSD General Commands Manual free(1)
NAME
|
free — Report the free memory on the system. |
SYNOPSIS
|
free [−b | −k | −m | −p] [−s delay] [−vV] |
|
DESCRIPTION |
|
free displays the total amount of free and used physical memory in the system. free understands the following options: |
−b
|
Represent the memory in bytes −k −m −p −s delay −v −V DIAGNOSTICS |
|
The amount of memory in use is defined by the number of pages active, inactive and wired, multiplied by the page size of course. The total memory is worked out by adding the in-use memory to the free memory - experiment shows this works. |
SEE ALSO
|
ps(1), top(1), vm_stat(1) |
BUGS
|
free occasionally exhibits a rounding error, leading the total amount of RAM to be off by one (chosen unit of display). |
HISTORY
|
free first appeared in Linux. The Darwin version was created by Graham Lee <leeg@teaching.physics.ox.ac.uk>. Darwin August 21, 2006 Darwin |