free¶
Display amount of free and used memory.
Synopsis¶
Description¶
Display the total, used, and free amount of physical and swap memory in the system.
Flags¶
| Flag | Short | Description | Default |
|---|---|---|---|
--megabytes |
-m |
Display output in megabytes | false |
--gigabytes |
-g |
Display output in gigabytes | false |
Examples¶
Display memory in kilobytes (default):
Display memory in megabytes:
Display memory in gigabytes: