doc: Note new Used behavour
Added note to NEWS in the lbirary section Updated free.1 as it specifies the calculation Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
parent
047d16ccfd
commit
8ca346762d
1
NEWS
1
NEWS
@ -1,6 +1,7 @@
|
|||||||
procps-ng-NEXT
|
procps-ng-NEXT
|
||||||
* library
|
* library
|
||||||
Re-add elogind support merge #151
|
Re-add elogind support merge #151
|
||||||
|
Used memory is Total - Available
|
||||||
* pmap: Dont reuse stdin filehandle issue #231
|
* pmap: Dont reuse stdin filehandle issue #231
|
||||||
* ps: threads again display when -L is used with -q issue #234
|
* ps: threads again display when -L is used with -q issue #234
|
||||||
* ps: proper aix format string behavior was restored
|
* ps: proper aix format string behavior was restored
|
||||||
|
4
free.1
4
free.1
@ -2,7 +2,7 @@
|
|||||||
.\" This page Copyright (C) 1993 Matt Welsh, mdw@sunsite.unc.edu.
|
.\" This page Copyright (C) 1993 Matt Welsh, mdw@sunsite.unc.edu.
|
||||||
.\" Long options where added at April 15th, 2011.
|
.\" Long options where added at April 15th, 2011.
|
||||||
.\" Freely distributable under the terms of the GPL
|
.\" Freely distributable under the terms of the GPL
|
||||||
.TH FREE 1 "2020-06-16" "procps-ng" "User Commands"
|
.TH FREE 1 "2022-06-25" "procps-ng" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
free \- Display amount of free and used memory in the system
|
free \- Display amount of free and used memory in the system
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -19,7 +19,7 @@ columns are:
|
|||||||
Total installed memory (MemTotal and SwapTotal in /proc/meminfo)
|
Total installed memory (MemTotal and SwapTotal in /proc/meminfo)
|
||||||
.TP
|
.TP
|
||||||
\fBused\fR
|
\fBused\fR
|
||||||
Used memory (calculated as \fBtotal\fR - \fBfree\fR - \fBbuffers\fR - \fBcache\fR)
|
Used or unavailable memory (calculated as \fBtotal\fR - \fBavailable\fR)
|
||||||
.TP
|
.TP
|
||||||
\fBfree\fR
|
\fBfree\fR
|
||||||
Unused memory (MemFree and SwapFree in /proc/meminfo)
|
Unused memory (MemFree and SwapFree in /proc/meminfo)
|
||||||
|
Loading…
Reference in New Issue
Block a user