jvm-mon monitors Java JVM applications from the terminal. It lists running JVMs and shows CPU, GC, heap, and thread metrics after attaching an agent.
Overview
jvm-mon is a console tool for inspecting JVM server applications when you are logged into a machine over SSH or working directly in a terminal. It targets operators who want live JVM stats without a separate JDK install on the monitoring workstation.
The distributed executable bundles a Java agent JAR. On startup it extracts the agent, attaches to a chosen JVM, loads the agent into that process, and uses a socket connection between the agent and the CLI to stream metrics. It supports Java 8 and newer monitored applications and is distributed as a single binary rewritten in Go.
After launch you pick a JVM process from a list and press Enter to monitor it. The interface reports CPU and garbage-collection load, heap size and usage, and the busiest threads by CPU. Keys quit the session or optionally kill a selected process.
Install options include downloading a release build. macOS users can install via Homebrew. The tool fits ad hoc troubleshooting on servers where a lightweight terminal UI is preferable to a full APM stack.
Key features
- List running JVM processes
- Bundled Java attach agent
- CPU and GC load display
- Heap size and usage stats
- Top threads by CPU usage
- Single standalone executable
- No JDK required on monitor host
- Java 8+ application support
Use cases
- SSH server JVM troubleshooting
- Quick heap and GC inspection
- Terminal JVM process overview
- On-machine performance checks