System MonitoringLesson 28Free preview
Bash Memory Usage (free)
This lesson is part of Bash · All levels
Summary
The free command displays information on RAM usage and swap on Linux systems. You can see total, used, available, and the rest of the buffer and cache. The -h option makes the memory number read in units of G or M, whereas -m is in megabytes.
Key points
- Free displaying summaries of RAM and swap
- h gives the unit readily, -m in megabytes
- The available column shows ready-made memory
- Swap is a memory backup on disk
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.