Tagged articles
4 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Oct 7, 2024 · Fundamentals

What Exactly Do “buffers” and “cached” Mean in the Linux free Command?

The article explains how the Linux free utility calculates the “buffers” and “cached” fields, detailing their definitions, the kernel source functions that produce them, the role of block‑device page cache versus ordinary file cache, and how to verify the numbers with simple commands.

BuffersLinuxMemory Management
0 likes · 10 min read
What Exactly Do “buffers” and “cached” Mean in the Linux free Command?
Open Source Linux
Open Source Linux
Aug 15, 2024 · Fundamentals

What Do “buffers” and “cached” Really Mean in Linux’s free Command?

This article demystifies the Linux free command’s “buffers” and “cached” fields by tracing their origins through /proc/meminfo, kernel source functions such as meminfo_proc_show, nr_blockdev_pages, and page‑cache mechanisms, and demonstrates the differences with practical experiments.

BuffersLinuxMemory Management
0 likes · 12 min read
What Do “buffers” and “cached” Really Mean in Linux’s free Command?