← BYTES
Troubleshooting·Starter·Ref: 16.1.16
What does the `free -h` command show, and why is it checked when troubleshooting slowness?
Have a question about this video? Mention reference 16.1.16 when you contact us.
a.Available disk space only
b.Total, used, and free RAM and swap, in human-readable units -- heavy swap usage (the OS paging RAM contents to disk) is a classic cause of system-wide sluggishness, since disk access is vastly slower than RAM
c.A list of free software packages available for installation
d.The number of free CPU cores
`free -h` shows memory and swap usage at a glance. If a system is memory-constrained and actively swapping (moving memory pages to much-slower disk storage to free up RAM), everything running on it tends to feel sluggish -- checking swap usage here is a quick way to confirm or rule out memory pressure as the cause of general slowness before looking elsewhere.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES16116#Troubleshooting