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
FreeBSD, Linux, Solaris and Windows hosts. Jvmtop requires a JDK - a JRE
will not suffice.
sysutils/jvmtop: pin to java 8
It misses tools.jar when building with jdk11+.
[ERROR] Failed to execute goal on project jvmtop: Could not resolve dependencies
for project com.jvmtop:jvmtop:jar:0.9.0-SNAPSHOT: Could not find artifact
com.sun:tools:jar:1.6 at specified path /usr/local/openjdk11/../lib/tools.jar ->
[Help 1]
NB: upstream repo is inactive for 9 years. A fork
(https://github.com/MOschIT/jvmtop)
claims jdk21 support, but that is outside of the scope of the issue I'm trying
to solve.
PR: 291538
Approved-By: maintainer timeout
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
*/*: properly depend on Maven package
devel/maven and devel/maven39 do not provide mvn(1) from LOCALBASE that
one comes from devel/maven-wrapper instead. Therefore, one should depend
on the package rather than a non-existing executable/script.
Approved by: jrm (mentor), otis (mentor), vvd
Differential Revision: https://reviews.freebsd.org/D44229
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above )
Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663). Now this patch completely removes remaining stuff from the
ports tree.
PR: 241953 (exp-run)
Reviewed by: glewis
Approved by: portmgr (antoine)
Differential Revision: https://reviews.freebsd.org/D22342
- update to 0.8.0
Changes:
- improved attach compatibility for all IBM jvms
- fixed wrong CPU/GC values for IBM J9 jvms
- in case of unsupported heap size metric retrieval, n/a will be
displayed instead of 0m
- improved argument parsing, support for short-options, added help
(pass --help), see issue #28 (now using the great jopt-simple library)
- when passing the --once option, terminal will not be cleared anymore
(see issue #27)
- improved shell script for guessing the path if a JAVA_HOME environment
variable is not present (thanks to Markus Kolb)
- update to 0.7.1
Changes:
- scrolling issue in some terminal environments should now be finally fixed,
see issue #21 and issue #25
- new argument: --once will terminate jvmtop right after first output
iteration
- update to 0.7.0
- issue #21 was fixed locally via console or via terminal emulator
however issues exists if using a standard remote session is being
investigated: http://code.google.com/p/jvmtop/issues/detail?id=21
- add in post-install message noting to user to use jvmtop under a terminal
emulation program ( sysutils/tmux or sysutils/screen )
From Changelog:
- New Feature: jvmtop does now include a sampling-based CPU Profiler
- jvmtop does now support FreeBSD, fixing the issue #21 and issue #22
- refresh rate can now be configured, using argument --delay <interval>
minor fixes
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/