Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
JVM introspection
v0.1.3JVM 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.
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:d554bcd8b9bd4b0f086684ceac562524da4294527361d7e4f29ca07806d66d8c
sudo emisar pack install java-jvm \ --hash sha256:d554bcd8b9bd4b0f086684ceac562524da4294527361d7e4f29ca07806d66d8c \ --dest /etc/emisar/packs # Reload so the runner re-reads the catalog: sudo systemctl reload emisar
Actions 16 total
View on GitHub-
jmap -dump:live (heap dump)
-
jcmd <pid> GC.run
-
Dump active JFR recording
-
Start a Java Flight Recording
-
Stop active JFR recording
-
jmap -heap
-
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