Disque et stockageCLI Manual
$free
Display total amount of free and used physical memory and swap.
Syntaxe de la commandePOSIX Standard
free [OPTIONS]Essayer en direct dans le bac à sable interactif
Simulation côté client sans installation avec retour instantané.
bash — terminal
AST Sandbox (Free)
Aperçu et fonctionnement
`free` provides an instant summary of system RAM and Swap memory utilization. It reports total, used, free, shared, buffer/cache, and available memory.
Options et drapeaux courants
| Flag / Option | Description |
|---|---|
| -h, --human | Show memory values in human-readable units (e.g., 8Gi, 512Mi). |
| -m, --mega | Display amounts in megabytes. |
| -g, --giga | Display amounts in gigabytes. |
Exemples pratiques du monde réel
#1Check human-readable RAM usage
free -hPrints RAM and swap memory in GB and MB.
Commandes Linux associées
$topSystème et processus
Display real-time Linux processes and system resource utilization.
$htopSystème et processus
Interactive process viewer with colorful CPU meters and mouse support.
$dfDisque et stockage
Report file system disk space usage across mounted storage partitions.
$duDisque et stockage
Estimate file and directory space usage.