2002-02-02 04:17:29 +05:30
|
|
|
.\" -*-Nroff-*-
|
|
|
|
.\" This page Copyright (C) 1993 Matt Welsh, mdw@sunsite.unc.edu.
|
2011-04-18 23:00:21 +05:30
|
|
|
.\" Long options where added at April 15th, 2011.
|
2002-02-02 04:17:29 +05:30
|
|
|
.\" Freely distributable under the terms of the GPL
|
2011-04-18 23:00:21 +05:30
|
|
|
.TH FREE 1 "15 Apr 2011 " "Cohesive Systems" "Linux User's Manual"
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH NAME
|
|
|
|
free \- Display amount of free and used memory in the system
|
|
|
|
.SH SYNOPSIS
|
2011-02-23 13:47:54 +05:30
|
|
|
.B free
|
2011-04-18 23:00:21 +05:30
|
|
|
.RB [ options ]
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH DESCRIPTION
|
|
|
|
\fBfree\fP displays the total amount of free and used physical and swap
|
|
|
|
memory in the system, as well as the buffers used by the kernel.
|
|
|
|
The shared memory column should be ignored; it is obsolete.
|
2011-02-23 13:47:54 +05:30
|
|
|
.SS OPTIONS
|
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-b, \-\-bytes\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display the amount of memory in bytes.
|
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-k, \-\-kilo\fR
|
|
|
|
Display the amount of memory in kilobytes. This is the default.
|
|
|
|
.TP
|
|
|
|
\fB\-m, \-\-mega\fR
|
|
|
|
Display the amount of memory in megabytes.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-g, \-\-giga\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display the amount of memory in gigabytes.
|
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-\-tera
|
|
|
|
Display the amount of memory in terabytes.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-h, \-\-human\fP
|
|
|
|
Show all output fields automatically scaled to shortest three
|
|
|
|
digit unit and display the units of print out. Following units
|
|
|
|
are used.
|
|
|
|
|
|
|
|
.nf
|
|
|
|
B = bytes
|
|
|
|
K = kilos
|
|
|
|
M = megas
|
|
|
|
G = gigas
|
|
|
|
T = teras
|
|
|
|
.fi
|
|
|
|
|
|
|
|
If unit is missing, and you have petabyte of RAM or swap, the
|
|
|
|
number is in terabytes and columns might not be aligned with
|
|
|
|
header.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-c, \-\-count\fR \fICOUNT\fR
|
|
|
|
Display the result \fIcount\fR times. Requires the \fB\-s\fR option.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-l, \-\-lohi\fR
|
|
|
|
Show detailed low and high memory statistics.
|
|
|
|
.TP
|
|
|
|
\fB\-o, \-\-old\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display the output in old format, the only difference being this option
|
|
|
|
will disable the display of the "buffer adjusted" line.
|
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-s, \-\-seconds\fR \fISECONDS\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Continuously display the result \fIdelay\fP seconds apart. You
|
2002-02-02 04:17:29 +05:30
|
|
|
may actually specify any floating point number for \fIdelay\fP,
|
|
|
|
.BR usleep (3)
|
|
|
|
is used for microsecond resolution delay times.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-\-si\fP
|
|
|
|
Use power of 1000 not 1024.
|
|
|
|
.TP
|
|
|
|
\fB\-t, \-\-total\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display a line showing the column totals.
|
|
|
|
.TP
|
2011-04-18 23:00:21 +05:30
|
|
|
\fB\-\-help\fP
|
|
|
|
Print help.
|
|
|
|
.TP
|
|
|
|
\fB\-V, \-\-version\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display version information.
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH FILES
|
2011-02-23 13:47:54 +05:30
|
|
|
.nf
|
|
|
|
/proc/meminfo memory information
|
2002-02-02 04:17:29 +05:30
|
|
|
.fi
|
|
|
|
.SH AUTHORS
|
|
|
|
Written by Brian Edmonds.
|
|
|
|
|
2011-04-18 23:00:21 +05:30
|
|
|
Send bug reports to <procps@freelists.org>
|
2011-02-23 13:47:54 +05:30
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR ps "(1), " slabtop "(1), " top "(1), " vmstat (8).
|
|
|
|
.\"{{{}}}
|