
The free command is useful when you want to check overall
memory usage, splitting used and unused memory into
physical memory and swap (SWAP memory and so on.
free [option]
| Option | Description |
|---|---|
| -b | Shows the amount of memory in bytes. |
| -k | Shows the amount of memory in KB. |
| -m | Shows the amount of memory in MB. |
| -t | Prints a line that includes the total. |
| -s | Prints every given number of seconds. |
Command examples
-b
Byte

-k
KB

-m
MB

-s 1
Print every second

-k -t
Print in KB, including the total

-kt -s 1
Every second, print in KB including the total

Comments 0
A nickname and a password are required. The same password edits or deletes the comment later. Comments appear after a review.