diff options
author | Craig Small <csmall@dropbear.xyz> | 2023-05-02 20:32:38 +1000 |
---|---|---|
committer | Craig Small <csmall@dropbear.xyz> | 2023-05-02 20:32:38 +1000 |
commit | b31ac2dccefb82298fb777720b38eaad6f584b30 (patch) | |
tree | 39878fd5c60708bdea563590cff46f529c7bc1e4 /man | |
parent | 4a315c923067dea8fb985e5791cd118a256ec209 (diff) | |
download | procps-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.1 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |