summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2006-09-15 19:42:03 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2006-09-15 19:42:03 +0000
commit82b2fad55581831f61725e0d8a9e27361a6616e4 (patch)
treee26562082ea627b783f195992c11fa30b030dfa1 /sys-process
parentHopefully succesfully port a patch for 3.4.2 to 3.5.4 that allows specifying ... (diff)
downloadpauldv-82b2fad55581831f61725e0d8a9e27361a6616e4.tar.gz
pauldv-82b2fad55581831f61725e0d8a9e27361a6616e4.tar.bz2
pauldv-82b2fad55581831f61725e0d8a9e27361a6616e4.zip
New upstream atop
svn path=/trunk/overlay/; revision=13
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/atop/Manifest16
-rw-r--r--sys-process/atop/NOTES1
-rw-r--r--sys-process/atop/atop-1.16.ebuild28
-rw-r--r--sys-process/atop/files/atop.rc23
-rw-r--r--sys-process/atop/files/digest-atop-1.163
5 files changed, 71 insertions, 0 deletions
diff --git a/sys-process/atop/Manifest b/sys-process/atop/Manifest
new file mode 100644
index 0000000..7e3edcc
--- /dev/null
+++ b/sys-process/atop/Manifest
@@ -0,0 +1,16 @@
+AUX atop.rc 611 RMD160 52aae70d59d625ef4f4a673659c3d66c9a3e90a3 SHA1 77f09d17d76e226bb205eaa90c5c9b894c154dae SHA256 44c32f5dbffee01bb243c2e0a7775b6bf562d87c93fe2e1f008a2440e1a5b6fb
+MD5 c4cea2eb117432cd1afff2b4ded1b10c files/atop.rc 611
+RMD160 52aae70d59d625ef4f4a673659c3d66c9a3e90a3 files/atop.rc 611
+SHA256 44c32f5dbffee01bb243c2e0a7775b6bf562d87c93fe2e1f008a2440e1a5b6fb files/atop.rc 611
+DIST atop-1.16.tar.gz 107349 RMD160 c51d2535be9aaf86c1e4aab96b535cfd659d27ae SHA1 a5a10422d3bdd101671b1467d165d2c3dd4aa8fc SHA256 fd2d6bb145d1a1c9158ceb1d11d213d87a84dfca59696e4663a7f85493a70b2b
+EBUILD atop-1.16.ebuild 747 RMD160 ea67193eb4891ff313686477432b7c176b87d218 SHA1 f1584443407c31ac18bc22db696d3f517e4c24c4 SHA256 74dbbcf69ad04b41d9caa0a9892bfa1d517fdcb653793d2027c0c808534c5e0b
+MD5 dca9cf534bb17460a8b632ea143fd597 atop-1.16.ebuild 747
+RMD160 ea67193eb4891ff313686477432b7c176b87d218 atop-1.16.ebuild 747
+SHA256 74dbbcf69ad04b41d9caa0a9892bfa1d517fdcb653793d2027c0c808534c5e0b atop-1.16.ebuild 747
+MISC NOTES 89 RMD160 d285adc09993c7d8b03fcfe29938f07feaf16e0c SHA1 5af39a511c19a7e6adb57b1a79e5803043c93513 SHA256 e17fac8676d26044dea01a94e5e245325549376ed42f0ef20ab6409fd40135db
+MD5 357b3782e25f882d946cee88fffcba0b NOTES 89
+RMD160 d285adc09993c7d8b03fcfe29938f07feaf16e0c NOTES 89
+SHA256 e17fac8676d26044dea01a94e5e245325549376ed42f0ef20ab6409fd40135db NOTES 89
+MD5 a5aadf29329612eb3c09e082ff6d8ed6 files/digest-atop-1.16 229
+RMD160 88b4e01b88849741765f99948a84587f126d1e75 files/digest-atop-1.16 229
+SHA256 f2e373074ed9ff3ea6366116ac30f13b3b54e4d641586e18ce66946d4be97336 files/digest-atop-1.16 229
diff --git a/sys-process/atop/NOTES b/sys-process/atop/NOTES
new file mode 100644
index 0000000..dc99689
--- /dev/null
+++ b/sys-process/atop/NOTES
@@ -0,0 +1 @@
+A new version. The author is my colleague now, so I can at least get the latest version.
diff --git a/sys-process/atop/atop-1.16.ebuild b/sys-process/atop/atop-1.16.ebuild
new file mode 100644
index 0000000..9322b99
--- /dev/null
+++ b/sys-process/atop/atop-1.16.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/atop-1.15.ebuild,v 1.3 2006/03/11 20:47:17 deltacow Exp $
+
+DESCRIPTION="Resource-specific view of processes"
+HOMEPAGE="http://www.atconsultancy.nl/atop"
+SRC_URI="http://www.atconsultancy.nl/atop/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="sys-process/acct"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "/^CFLAGS/s: -O : ${CFLAGS} :" Makefile
+ mv "${S}"/atop.init "${S}"/atop.init.old
+ cp "${FILESDIR}"/atop.rc "${S}"/atop.init
+ chmod a+rx atop.init
+}
+
+src_install() {
+ make DESTDIR="${D}" INIPATH=/etc/init.d install || die
+ dodoc README
+}
diff --git a/sys-process/atop/files/atop.rc b/sys-process/atop/files/atop.rc
new file mode 100644
index 0000000..8a6b715
--- /dev/null
+++ b/sys-process/atop/files/atop.rc
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/files/atop.rc,v 1.1 2005/06/14 23:01:10 vapier Exp $
+
+start(){
+ ebegin "Starting atop"
+ if [ -f /etc/cron.d/atop ] ; then
+ start-stop-daemon --start --quiet --exec /etc/atop/atop.daily
+ eend $?
+ else
+ eend 1 "/etc/cron.d/atop doesnt exist!"
+ fi
+}
+
+stop(){
+ ebegin "Stopping atop"
+ PIDATOP=`ps -lef | grep -- '-w /var/log/atop/atop_' | grep -v grep | awk '{print $4}'`
+ if [ "$PIDATOP" != "" ] ; then
+ kill $PIDATOP
+ fi
+ eend $?
+}
diff --git a/sys-process/atop/files/digest-atop-1.16 b/sys-process/atop/files/digest-atop-1.16
new file mode 100644
index 0000000..e0676d0
--- /dev/null
+++ b/sys-process/atop/files/digest-atop-1.16
@@ -0,0 +1,3 @@
+MD5 f38943fc6b53758fa7bcfcb14dcdbe8a atop-1.16.tar.gz 107349
+RMD160 c51d2535be9aaf86c1e4aab96b535cfd659d27ae atop-1.16.tar.gz 107349
+SHA256 fd2d6bb145d1a1c9158ceb1d11d213d87a84dfca59696e4663a7f85493a70b2b atop-1.16.tar.gz 107349