[Python-apps-commits] r9769 - in packages/smem/trunk/debian (changelog patches/manpage.patch)
nijel at users.alioth.debian.org
nijel at users.alioth.debian.org
Mon Jun 17 07:55:56 UTC 2013
Date: Monday, June 17, 2013 @ 07:55:54
Author: nijel
Revision: 9769
Adjust manpage to reference smemcap package (LP: #1079856).
Modified:
packages/smem/trunk/debian/changelog
packages/smem/trunk/debian/patches/manpage.patch
Modified: packages/smem/trunk/debian/changelog
===================================================================
--- packages/smem/trunk/debian/changelog 2013-06-17 07:53:35 UTC (rev 9768)
+++ packages/smem/trunk/debian/changelog 2013-06-17 07:55:54 UTC (rev 9769)
@@ -6,6 +6,7 @@
* Properly use CPPFLAGS while compiling helper.
* Split smemcap utility to separate package (to allow installation on
embedded systems).
+ * Adjust manpage to reference smemcap package (LP: #1079856).
-- Michal ÄihaÅ <nijel at debian.org> Tue, 07 May 2013 11:09:53 +0200
Modified: packages/smem/trunk/debian/patches/manpage.patch
===================================================================
--- packages/smem/trunk/debian/patches/manpage.patch 2013-06-17 07:53:35 UTC (rev 9768)
+++ packages/smem/trunk/debian/patches/manpage.patch 2013-06-17 07:55:54 UTC (rev 9769)
@@ -13,8 +13,30 @@
.TP
.BI "\-S " SOURCE ", \-\-source=" SOURCE
-@@ -172,7 +172,7 @@
- .IP 4.
+@@ -154,25 +154,23 @@
+
+ .SH EMBEDDED USAGE
+ To capture memory statistics on resource\-constrained systems, the
+-the \fBsmem\fP source includes a utility named \fBsmemcap\fP.
++the \fBsmemcap\fP package includes a utility named \fBsmemcap\fP.
+ \fBsmemcap\fP captures all /proc entries required by \fBsmem\fP
+ and outputs them as an uncompressed .tar file to STDOUT.
+ \fBsmem\fP can analyze the output using the \fB\-\-source\fP option.
+ \fBsmemcap\fP is small and does not require Python.
+ .PP
+ To use \fBsmemcap\fP:
+-.IP 1. 3
+-Obtain the smem source at http://selenic.com/repo/smem
++.IP 1.
++Install package smemcap on target system.
+ .IP 2.
+-Compile \fIsmemcap.c\fP for your target system.
+-.IP 3.
+ Run \fBsmemcap\fP on the target system and save the output:
+ .br
+ smemcap > memorycapture.tar
+-.IP 4.
++.IP 3.
Copy the output to another machine and run smem on it:
.br
-smem -S memorycapture.tar
More information about the Python-apps-commits
mailing list