Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Linux Commands / IT Support Guides

Read Linux memory pressure with free

Use free -h to check how much memory Linux can make available to applications.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Linux · Bash-compatible shell; package and service names vary by distribution

Understand the problem

Run the check on the Linux machine that is slow. A single reading captures the system at that moment, so record when you took it.

Run the command

Run free -h. The -h option displays sizes in readable units. Focus on the Mem: row first, then look at Swap: separately.

free -h

Read the output

Read the available column on the Mem: row. For example, 16 GiB total, 500 MiB free and 6 GiB available means Linux estimates roughly 6 GiB can be used for new work without swapping.

Choose the next step

Take another reading while the slowdown occurs. If available memory stays low, compare the processes using memory and check whether swapping is active before deciding what to change.

Before making changes

Swap usage can remain after a period of memory pressure. A single nonzero value is a reason to look for more evidence before restarting services or changing memory settings.

Source & further reading

Linux manual — free

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles