summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorCraig Small <csmall@dropbear.xyz>2023-05-02 20:32:38 +1000
committerCraig Small <csmall@dropbear.xyz>2023-05-02 20:32:38 +1000
commitb31ac2dccefb82298fb777720b38eaad6f584b30 (patch)
tree39878fd5c60708bdea563590cff46f529c7bc1e4 /man
parent4a315c923067dea8fb985e5791cd118a256ec209 (diff)
downloadprocps-ng-b31ac2dccefb82298fb777720b38eaad6f584b30.tar.gz
free: Show single line statistics
Added the -L --line option to free to show a small set of memory statistics on a single line of 80 characters. Largely based on the work of @Ulenrich1 and updated to the new API. References: procps-ng/procps#156 Signed-off-by: Craig Small <csmall@dropbear.xyz>
Diffstat (limited to 'man')
-rw-r--r--man/free.17
1 files changed, 6 insertions, 1 deletions
diff --git a/man/free.1 b/man/free.1
index 515d38d..cfe9509 100644
--- a/man/free.1
+++ b/man/free.1
@@ -11,7 +11,7 @@
.\" (at your option) any later version.
.\"
.\"
-.TH FREE 1 "2023-01-16" "procps-ng" "User Commands"
+.TH FREE 1 "2023-05-02" "procps-ng" "User Commands"
.SH NAME
free \- Display amount of free and used memory in the system
.SH SYNOPSIS
@@ -120,6 +120,11 @@ option.
\fB\-l\fR, \fB\-\-lohi\fR
Show detailed low and high memory statistics.
.TP
+\fB\-L\fR, \fB\-\-line\fR
+Show output on a single line, often used with the
+.B \-s
+option to show memory statistics repeatedly.
+.TP
\fB\-s\fR, \fB\-\-seconds\fR \fIdelay\fR
Continuously display the result \fIdelay\fR seconds
apart. You may actually specify any floating point number for