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-09-28 02:34:35 +05:30
|
|
|
.TH FREE 1 "September 2011" "procps-ng" "User Commands"
|
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-09-28 02:34:35 +05:30
|
|
|
.RI [ options ]
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH DESCRIPTION
|
2011-09-28 02:34:35 +05:30
|
|
|
.B free
|
|
|
|
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.
|
|
|
|
.SH OPTIONS
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-b\fR, \fB\-\-bytes\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display the amount of memory in bytes.
|
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-k\fR, \fB\-\-kilo\fR
|
|
|
|
Display the amount of memory in kilobytes. This is the default.
|
2011-04-18 23:00:21 +05:30
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-m\fR, \fB\-\-mega\fR
|
2011-04-18 23:00:21 +05:30
|
|
|
Display the amount of memory in megabytes.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-g\fR, \fB\-\-giga\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display the amount of memory in gigabytes.
|
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-\-tera\fR
|
2011-04-18 23:00:21 +05:30
|
|
|
Display the amount of memory in terabytes.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-h\fR, \fB\-\-human\fP
|
|
|
|
Show all output fields automatically scaled to shortest three digit unit and
|
|
|
|
display the units of print out. Following units are used.
|
|
|
|
.sp
|
2011-04-18 23:00:21 +05:30
|
|
|
.nf
|
|
|
|
B = bytes
|
|
|
|
K = kilos
|
|
|
|
M = megas
|
|
|
|
G = gigas
|
|
|
|
T = teras
|
|
|
|
.fi
|
2011-09-28 02:34:35 +05:30
|
|
|
.sp
|
|
|
|
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-09-28 02:34:35 +05:30
|
|
|
\fB\-c\fR, \fB\-\-count\fR \fIcount\fR
|
|
|
|
Display the result
|
|
|
|
.I count
|
|
|
|
times. Requires the
|
|
|
|
.B \-s
|
|
|
|
option.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-l\fR, \fB\-\-lohi\fR
|
2011-04-18 23:00:21 +05:30
|
|
|
Show detailed low and high memory statistics.
|
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-o\fR, \fB\-\-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-09-28 02:34:35 +05:30
|
|
|
\fB\-s\fR, \fB\-\-seconds\fR \fIseconds\fR
|
|
|
|
Continuously display the result delay
|
|
|
|
.I seconds
|
|
|
|
apart. You may actually specify any floating point number for
|
|
|
|
.IR delay ,
|
2002-02-02 04:17:29 +05:30
|
|
|
.BR usleep (3)
|
|
|
|
is used for microsecond resolution delay times.
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-\-si\fR
|
2011-04-18 23:00:21 +05:30
|
|
|
Use power of 1000 not 1024.
|
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-t\fR, \fB\-\-total\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display a line showing the column totals.
|
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-\-help\fR
|
2011-04-18 23:00:21 +05:30
|
|
|
Print help.
|
|
|
|
.TP
|
2011-09-28 02:34:35 +05:30
|
|
|
\fB\-V\fR, \fB\-\-version\fR
|
2011-02-23 13:47:54 +05:30
|
|
|
Display version information.
|
2011-09-28 02:34:35 +05:30
|
|
|
.PD
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH FILES
|
2011-09-28 02:34:35 +05:30
|
|
|
.TP
|
|
|
|
/proc/meminfo
|
|
|
|
memory information
|
|
|
|
.PD
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR ps (1),
|
|
|
|
.BR slabtop (1),
|
|
|
|
.BR top "(1),
|
|
|
|
.BR vmstat (8).
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH AUTHORS
|
|
|
|
Written by Brian Edmonds.
|
2011-09-28 02:34:35 +05:30
|
|
|
.SH "REPORTING BUGS"
|
|
|
|
Please send bug reports to
|
|
|
|
.UR procps\@freelists.org
|
|
|
|
.UE
|