summaryrefslogtreecommitdiff
path: root/databases/mytop
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-05-14 12:37:03 +0000
committerzuntum <zuntum@pkgsrc.org>2001-05-14 12:37:03 +0000
commitda6218b88b93796a97ad9f84c2e3d842f7368ccb (patch)
tree390c08f7afa7bf150b071f4debf6b44c7d86c66f /databases/mytop
parent89dae3abadc032ee1f4cb4a9f6d33c4e0cf02fc3 (diff)
downloadpkgsrc-da6218b88b93796a97ad9f84c2e3d842f7368ccb.tar.gz
Initial import of mytop-0.7 - console-based tool for monitoring the threads and performance of MySQL
mytop was inspired by the system monitoring tool top. I routinely use top on Linux, FreeBSD, and Solaris. You are likely to notice features from each of them here. mytop will connect to a MySQL server and periodically run the SHOW PROCESSLIST and SHOW STATUS commands and attempt to summarize the information from them in a useful format.
Diffstat (limited to 'databases/mytop')
-rw-r--r--databases/mytop/Makefile30
-rw-r--r--databases/mytop/distinfo4
-rw-r--r--databases/mytop/pkg/DESCR7
-rw-r--r--databases/mytop/pkg/PLIST5
4 files changed, 46 insertions, 0 deletions
diff --git a/databases/mytop/Makefile b/databases/mytop/Makefile
new file mode 100644
index 00000000000..15842ce0073
--- /dev/null
+++ b/databases/mytop/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 12:37:03 zuntum Exp $
+#
+
+DISTNAME= mytop-0.7
+CATEGORIES= databases
+MASTER_SITES= http://public.yahoo.com/~jzawodn/mytop/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://public.yahoo.com/~jzawodn/mytop/
+COMMENT= console-based tool for monitoring the threads and performance of MySQL
+
+DEPENDS+= p5-DBI-*:../../databases/p5-DBI
+DEPENDS+= p5-Term-ReadKey-*:../../devel/p5-Term-ReadKey
+DEPENDS+= p5-DBD-mysql-*:../../databases/p5-DBD-mysql
+
+USE_PERL5= YES
+NO_BUILD= YES
+
+post-patch:
+ ${SED} "s,/usr/bin/perl,${LOCALBASE}/bin/perl," \
+ ${WRKSRC}/mytop > ${WRKSRC}/mytop.done
+ ${MV} ${WRKSRC}/mytop.done ${WRKSRC}/mytop
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mytop ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mytop
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mytop
+ ${INSTALL_DATA} ${WRKSRC}/mytop.html ${PREFIX}/share/doc/mytop
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/mytop/distinfo b/databases/mytop/distinfo
new file mode 100644
index 00000000000..dbc9327b65a
--- /dev/null
+++ b/databases/mytop/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/14 12:37:03 zuntum Exp $
+
+SHA1 (mytop-0.7.tar.gz) = 0845713cf204e279676206c299169166fadf04fb
+Size (mytop-0.7.tar.gz) = 13157 bytes
diff --git a/databases/mytop/pkg/DESCR b/databases/mytop/pkg/DESCR
new file mode 100644
index 00000000000..f6a016155a0
--- /dev/null
+++ b/databases/mytop/pkg/DESCR
@@ -0,0 +1,7 @@
+mytop was inspired by the system monitoring tool top. I routinely use top on
+Linux, FreeBSD, and Solaris. You are likely to notice features from each of
+them here.
+
+mytop will connect to a MySQL server and periodically run the SHOW PROCESSLIST
+and SHOW STATUS commands and attempt to summarize the information from them
+in a useful format.
diff --git a/databases/mytop/pkg/PLIST b/databases/mytop/pkg/PLIST
new file mode 100644
index 00000000000..d177af0984c
--- /dev/null
+++ b/databases/mytop/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/14 12:37:03 zuntum Exp $
+bin/mytop
+share/doc/mytop/README
+share/doc/mytop/mytop.html
+@dirrm share/doc/mytop