Linux Commands Helper
💬 Your AI-powered Linux assistant
free Command - Display Memory Usage
free displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel.
Syntax
free [options]
Examples
free -h
Display memory usage in a human-readable format.
free -m
Show memory usage in megabytes.
Notes
- Values are shown for total, used, free, shared, buffer/cache, and available memory.
- Useful for monitoring system performance and troubleshooting memory issues.
- Commonly used with
-h
for human-readable output.