diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2014-07-15 05:50:03 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-22 00:01:47 +0200 |
commit | 717fe1ff766f71f18a2d80f23baec39fb79117e2 (patch) | |
tree | 93482f761258e9fdae7e8d51e344e3565cc91481 /meta-oe/recipes-devtools | |
parent | 18ccf18ee4949b785e240d9f8f8983c6554dd4e9 (diff) | |
download | meta-openembedded-717fe1ff766f71f18a2d80f23baec39fb79117e2.tar.gz |
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@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/memstat/memstat_1.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
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 000000000..825215372 --- /dev/null +++ b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "Display virtual memory allocation" | ||
2 | DESCRIPTION = "Lists all the processes, executables, and shared libraries \ | ||
3 | that are using up virtual memory. It's helpful to see how the shared memory \ | ||
4 | is used and which 'old' libs are loaded. \ | ||
5 | " | ||
6 | HOMEPAGE = "http://memstattool.sourceforge.net/" | ||
7 | SECTION = "devtool" | ||
8 | |||
9 | LICENSE = "GPLv2" | ||
10 | |||
11 | S = "${WORKDIR}/memstattool" | ||
12 | |||
13 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb" | ||
14 | |||
15 | SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \ | ||
16 | " | ||
17 | |||
18 | SRC_URI[md5sum] = "2c3acc0c62b2a18f6601b84e54aa7462" | ||
19 | SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94" | ||
20 | |||
21 | do_install_append(){ | ||
22 | install -d ${D}${bindir} | ||
23 | install -m 0755 memstat ${D}${bindir} | ||
24 | install -d ${D}${sysconfdir} | ||
25 | install -m 0755 memstat.conf ${D}${sysconfdir} | ||
26 | install -d ${D}${mandir}/man1 | ||
27 | install -m 0644 memstat.1 ${D}${mandir}/man1 | ||
28 | install -d ${D}${docdir}/${BPN} | ||
29 | install -m 0644 memstat-tutorial.txt ${D}${docdir}/${BPN} | ||
30 | } | ||