jvm-mon

Console-based JVM monitoring tool

View on GitHub

jvm-mon

JVM monitoring from the terminal (cpu, memory, threads). Supports monitoring application running on Java 8 and newer.

Usage

To monitor JVMs started with your username:

./jvm-mon-go

Troubleshooting

See the log at /tmp/jvm-mon_(user).log

Build from source

Prerequisites:

  1. Build everything: ./build.sh
  2. ./run.sh:

How it works

jvm-mon attaches to a running JVM you select and loads an agent.jar into the process. They communicate via a socket to send/receive JVM metrics in json format.

Development

Run jvm-mon from Go sources: ./run.sh

See log file for debugging output