summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Small <csmall@dropbear.xyz>2023-01-16 17:29:36 +1100
committerCraig Small <csmall@dropbear.xyz>2023-01-16 17:29:36 +1100
commitdbde44b528ed7646249e066001a600dbe1d6a196 (patch)
tree75b8f5a67a7791af8a00eaba7ab9d50bd5e40fd0
parent647a2aa9e1cbc7a3cc6a4fca7acab958bd65d4b9 (diff)
downloadprocps-ng-dbde44b528ed7646249e066001a600dbe1d6a196.tar.gz
doc: free.1 total memory doesn't include reserved memory
Updated the definition of total, because its not *all* of the installed memory but close to it. References: procps-ng/procps#247 Signed-off-by: Craig Small <csmall@dropbear.xyz>
-rw-r--r--man/free.15
1 files changed, 3 insertions, 2 deletions
diff --git a/man/free.1 b/man/free.1
index a12e287..66d9e0a 100644
--- a/man/free.1
+++ b/man/free.1
@@ -2,7 +2,7 @@
.\" This page Copyright (C) 1993 Matt Welsh, mdw@sunsite.unc.edu.
.\" Long options where added at April 15th, 2011.
.\" Freely distributable under the terms of the GPL
-.TH FREE 1 "2022-06-25" "procps-ng" "User Commands"
+.TH FREE 1 "2023-01-16" "procps-ng" "User Commands"
.SH NAME
free \- Display amount of free and used memory in the system
.SH SYNOPSIS
@@ -16,7 +16,8 @@ information is gathered by parsing /proc/meminfo. The displayed
columns are:
.TP
\fBtotal\fR
-Total installed memory (MemTotal and SwapTotal in /proc/meminfo)
+Total usable memory (MemTotal and SwapTotal in /proc/meminfo). This includes
+the physical and swap memory minus a few reserved bits and kernel binary code.
.TP
\fBused\fR
Used or unavailable memory (calculated as \fBtotal\fR - \fBavailable\fR)