[oe-commits] Jackie Huang : memstat: add new recipe

git at git.openembedded.org git at git.openembedded.org
Thu Jul 10 13:54:40 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 20cb476b3e9c74b73d49eba6d4c93229a8ffc4c4
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=20cb476b3e9c74b73d49eba6d4c93229a8ffc4c4

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Fri Jul  4 02:35:45 2014 -0400

memstat: add new recipe

memstat is a small proc-based utility designed to help the
system administrator figure out what's consuming memory.
Like ps, it lists all the processes, and how much private
memory each is using. Unlike ps, it also lists all the shared
objects (shared libraries and executables) that are in memory,
and which processes are using those shared objects.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-devtools/memstat/memstat_1.0.bb | 26 +++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/meta-oe/recipes-devtools/memstat/memstat_1.0.bb b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb
new file mode 100644
index 0000000..33a93f4
--- /dev/null
+++ b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Display virtual memory allocation"
+DESCRIPTION = "Lists all the processes, executables, and shared libraries \
+that are using up virtual memory. It's helpful to see how the shared memory \
+is used and which 'old' libs are loaded. \
+"
+HOMEPAGE = "http://memstattool.sourceforge.net/"
+SECTION = "devtool"
+
+LICENSE = "GPLv2"
+
+S = "${WORKDIR}/memstattool"
+
+LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb"
+
+SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \
+          "
+
+SRC_URI[md5sum] = "2c3acc0c62b2a18f6601b84e54aa7462"
+SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94"
+
+do_install_append(){
+    install -d ${D}${bindir}
+    install -m 0755 memstat ${D}${bindir}
+    install -d ${D}${sysconfdir}
+    install -m 0755 memstat.conf ${D}${sysconfdir}
+}



More information about the Openembedded-commits mailing list