From da6218b88b93796a97ad9f84c2e3d842f7368ccb Mon Sep 17 00:00:00 2001 From: zuntum Date: Mon, 14 May 2001 12:37:03 +0000 Subject: 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. --- databases/mytop/Makefile | 30 ++++++++++++++++++++++++++++++ databases/mytop/distinfo | 4 ++++ databases/mytop/pkg/DESCR | 7 +++++++ databases/mytop/pkg/PLIST | 5 +++++ 4 files changed, 46 insertions(+) create mode 100644 databases/mytop/Makefile create mode 100644 databases/mytop/distinfo create mode 100644 databases/mytop/pkg/DESCR create mode 100644 databases/mytop/pkg/PLIST 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 -- cgit v1.2.3