svn commit: r321335 - in head/sysutils: . jvmtop jvmtop/files

Jason Helfman jgh at FreeBSD.org
Wed Jun 19 21:42:56 UTC 2013


Author: jgh
Date: Wed Jun 19 21:42:55 2013
New Revision: 321335
URL: http://svnweb.freebsd.org/changeset/ports/321335

Log:
  Jvmtop is a lightweight console application to monitor all accessible, running
  jvms on a machine. In a top-like manner, it displays JVM internal metrics
  (e.g. memory information) of running java processes.
  
  It's tested with different releases of Oracle JDK, IBM JDK and OpenJDK on
  Linux, Solaris and Windows hosts.  Jvmtop requires a JDK - a JRE will not
  suffice.
  
  WWW: http://code.google.com/p/jvmtop/

Added:
  head/sysutils/jvmtop/
  head/sysutils/jvmtop/Makefile   (contents, props changed)
  head/sysutils/jvmtop/distinfo   (contents, props changed)
  head/sysutils/jvmtop/files/
  head/sysutils/jvmtop/files/jvmtop.sh.in   (contents, props changed)
  head/sysutils/jvmtop/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Wed Jun 19 21:40:24 2013	(r321334)
+++ head/sysutils/Makefile	Wed Jun 19 21:42:55 2013	(r321335)
@@ -423,6 +423,7 @@
     SUBDIR += jps
     SUBDIR += jtop
     SUBDIR += jtopen
+    SUBDIR += jvmtop
     SUBDIR += jx
     SUBDIR += k3b
     SUBDIR += k3b-kde4

Added: head/sysutils/jvmtop/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jvmtop/Makefile	Wed Jun 19 21:42:55 2013	(r321335)
@@ -0,0 +1,28 @@
+# Created by: Jason Helfman <jgh at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	jvmtop
+PORTVERSION=	0.6.0
+CATEGORIES=	sysutils java
+MASTER_SITES=	GOOGLE_CODE
+
+MAINTAINER=	jgh at FreeBSD.org
+COMMENT=	Lightweight console application to monitor running jvms
+
+LICENSE=	GPLv3
+
+USE_JAVA=	yes
+JAVA_VERSION=	1.6+
+
+PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar \
+		bin/${PORTNAME}
+SUB_LIST=	JAVA_HOME=${JAVA_HOME}
+SUB_FILES=	${PORTNAME}.sh
+NO_BUILD=	yes
+
+do-install:
+	@${MKDIR} ${JAVAJARDIR}
+	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/sysutils/jvmtop/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jvmtop/distinfo	Wed Jun 19 21:42:55 2013	(r321335)
@@ -0,0 +1,2 @@
+SHA256 (jvmtop-0.6.0.tar.gz) = 0b849fe86c225aa1198376fa55872a66bc5008bf72e3672d1c7ee19aa30b9588
+SIZE (jvmtop-0.6.0.tar.gz) = 41570

Added: head/sysutils/jvmtop/files/jvmtop.sh.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jvmtop/files/jvmtop.sh.in	Wed Jun 19 21:42:55 2013	(r321335)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/jvmtop.jar:%%JAVA_HOME%%/lib/tools.jar" com.jvmtop.JvmTop $1

Added: head/sysutils/jvmtop/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jvmtop/pkg-descr	Wed Jun 19 21:42:55 2013	(r321335)
@@ -0,0 +1,9 @@
+Jvmtop is a lightweight console application to monitor all accessible, running
+jvms on a machine. In a top-like manner, it displays JVM internal metrics
+(e.g. memory information) of running java processes.
+
+It's tested with different releases of Oracle JDK, IBM JDK and OpenJDK on
+Linux, Solaris and Windows hosts.  Jvmtop requires a JDK - a JRE will not
+suffice.
+
+WWW: http://code.google.com/p/jvmtop/


More information about the svn-ports-all mailing list