i had a look at multiple implementations of free and read the relevant 
parts of top/htop/btop/and co, which lead me to the current 
implementation.

is there any situation where the values differ?

thanks

On Mon, Jul 28, 2025 at 08:09:41AM -0400, Steve Ward wrote:
> Linux free(1) calculates used memory as MemTotal minus MemAvailable.
> 
> https://gitlab.com/procps-ng/procps/-/commit/2184e90d2e7cdb582f9a5b706b47015e56707e4d

Reply via email to