summaryrefslogtreecommitdiffstats
path: root/patches/procps-3.2.8/10_free.1.dpatch
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-06-10 10:57:52 +0000
committerWolfram Sang <w.sang@pengutronix.de>2009-06-10 10:57:52 +0000
commit0c5c03d095485f7521d96cd44314f9a0ee826232 (patch)
tree1df111a8270ba417537931cc6e1a4952b3000ee9 /patches/procps-3.2.8/10_free.1.dpatch
parentd3ee0775cadf505c4bae7b1df483d73bf8294815 (diff)
downloadptxdist-0c5c03d095485f7521d96cd44314f9a0ee826232.tar.gz
ptxdist-0c5c03d095485f7521d96cd44314f9a0ee826232.tar.xz
* patches: remove 'generic'-layer
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10711 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches/procps-3.2.8/10_free.1.dpatch')
-rw-r--r--patches/procps-3.2.8/10_free.1.dpatch66
1 files changed, 66 insertions, 0 deletions
diff --git a/patches/procps-3.2.8/10_free.1.dpatch b/patches/procps-3.2.8/10_free.1.dpatch
new file mode 100644
index 000000000..75eb73846
--- /dev/null
+++ b/patches/procps-3.2.8/10_free.1.dpatch
@@ -0,0 +1,66 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_free.1.dpatch by <csmall@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: -g flag documented #286900
+## DP: hypen escaped #282168
+
+@DPATCH@
+diff -urNad procps-3.2.7~/free.1 procps-3.2.7/free.1
+--- procps-3.2.7~/free.1 2004-02-24 08:35:55.000000000 +1100
++++ procps-3.2.7/free.1 2007-10-04 22:32:20.000000000 +1000
+@@ -5,7 +5,7 @@
+ .SH NAME
+ free \- Display amount of free and used memory in the system
+ .SH SYNOPSIS
+-.BR "free " [ "\-b" " | " "\-k" " | " "\-m" "] [" "\-o" "] [" "\-s"
++.BR "free " [ "\-b" " | " "\-k" " | " "\-m" " | " "\-g" "] [" "\-o" "] [" "\-s"
+ .I delay
+ .RB "] [" "\-t" "] [" "\-V" ]
+ .SH DESCRIPTION
+@@ -13,32 +13,34 @@
+ memory in the system, as well as the buffers used by the kernel.
+ The shared memory column should be ignored; it is obsolete.
+ .SS Options
+-The \fB-b\fP switch displays the amount of memory in bytes; the
+-\fB-k\fP switch (set by default) displays it in kilobytes; the \fB-m\fP
+-switch displays it in megabytes.
++The \fB\-b\fP switch displays the amount of memory in bytes; the
++\fB\-k\fP switch (set by default) displays it in kilobytes; the \fB\-m\fP
++switch displays it in megabytes; the \fB\-g\fP switch displays it in
++gigabytes.
+ .PP
+-The \fB-t\fP switch displays a line containing the totals.
++The \fB\-t\fP switch displays a line containing the totals.
+ .PP
+-The \fB-o\fP switch disables the display of a "buffer adjusted" line.
+-If the -o option is not specified, \fBfree\fP subtracts buffer memory
++The \fB\-o\fP switch disables the display of a "buffer adjusted" line.
++If the \-o option is not specified, \fBfree\fP subtracts buffer memory
+ from the used memory and adds it to the free memory reported.
+ .PP
+-The \fB-s\fP switch activates continuous polling \fIdelay\fP seconds apart. You
++The \fB\-s\fP switch activates continuous polling \fIdelay\fP seconds apart. You
+ may actually specify any floating point number for \fIdelay\fP,
+ .BR usleep (3)
+ is used for microsecond resolution delay times.
+ .PP
+ The \fB\-V\fP displays version information.
+ .SH FILES
+-.ta
+-.IR /proc/meminfo "\-\- memory information"
+-.fi
++.TP
++.I /proc/meminfo
++memory information
++
+
+ .SH "SEE ALSO"
+ .BR ps (1),
+ .BR slabtop (1),
+ .BR vmstat (8),
+-.BR top(1)
++.BR top (1)
+
+ .SH AUTHORS
+ Written by Brian Edmonds.