ports/sysutils/jvmtop/files/jvmtop.sh.in
Jason Helfman d44650cb1d 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/
2013-06-19 21:42:55 +00:00

3 lines
149 B
Bash

#!/bin/sh
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/jvmtop.jar:%%JAVA_HOME%%/lib/tools.jar" com.jvmtop.JvmTop $1