Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
JVM introspection
v0.1.10JVM diagnostics via jcmd/jstack/jmap/jstat/JFR. Requires runner uid to match the JVM process owner (or CAP_SYS_PTRACE) — actions return a permission error cleanly when uid doesn't match.
jcmd
Install
emisar pack install
validates the pack and verifies its content hash before copying it into /etc/emisar/packs.
The --hash
below pins the
install to the exact bytes on this page — a tampered copy is rejected. After
install, reload the runner; it re-reads the catalog and advertises every action.
content hash: sha256:0a6dc0afb1b6993592fc43f0c60ce1c9369511bca17ef74e58a4fd9d8f1a7bfa
sudo emisar pack install java-jvm \ --hash sha256:0a6dc0afb1b6993592fc43f0c60ce1c9369511bca17ef74e58a4fd9d8f1a7bfa \ --dest /etc/emisar/packs # Reload so the runner re-reads the catalog: sudo systemctl reload emisar
Actions 17 total
View on GitHub-
jcmd VM.classloader_stats
-
jmap -dump:live (heap dump)
-
jcmd GC.heap_info
-
jcmd <pid> GC.run
-
Dump active JFR recording
-
Start a Java Flight Recording
-
Stop active JFR recording
-
jmap -histo:live (top 50)
-
jstack -l (thread dump)
-
jstack filtered to BLOCKED threads
-
jstat -class
-
jstat -gc (10 samples)
-
jcmd PerfCounter.print
-
OS thread count for a JVM
-
jcmd VM.flags
-
jcmd VM.system_properties
-
jcmd VM.uptime