Install on macOS or Linux with Homebrew:
brew install nyg/jmxsh/jmxsh
Download the release JAR and run it directly:
java -jar jmxsh-<version>.jar
Add the repository and install:
curl -fsSL https://jmx.sh/apt/gpg.asc | sudo gpg --dearmor -o /usr/share/keyrings/jmxsh.gpg
echo "deb [signed-by=/usr/share/keyrings/jmxsh.gpg] https://jmx.sh/apt stable main" | sudo tee /etc/apt/sources.list.d/jmxsh.list
sudo apt update && sudo apt install jmxsh
: As Yugoslavia faces a severe internal crisis, global powers and secret societies entangle their interests in Belgrade. The plot explores the illegal heroin trade, communist underground movements, and the brewing conspiracies that threaten the survival of the Kingdom. Key Characters and Cast
The second season of (internationally known as Black Sun ) continues the dark, neo-noir exploration of the Interwar Kingdom of Yugoslavia, picking up several years after the explosive events of the first season. Released in late 2019, the new season shifts its focus toward the rising political tensions of the early 1930s, culminating in the real-world historical precipice of the assassination of King Alexander I. Plot and Setting: 1933 Belgrade Timeframe : The story begins on December 31, 1933. senke nad balkanom season 2 new
: The season is anchored by a gruesome murder at the medieval fortress of Žrnov on Mount Avala—the site where the Monument to the Unknown Hero was later built. : As Yugoslavia faces a severe internal crisis,
The season features the return of the central detective duo alongside new and expanded historical figures: Black Sun (TV Series 2017–2026) - IMDb Released in late 2019, the new season shifts
Automate JMX operations with scripts and pipes — perfect for monitoring, alerting, and CI/CD pipelines.
Run commands from a file:
java -jar jmxsh-<version>.jar \
-l localhost:9999 \
--input commands.txt
Pipe commands via stdin:
echo "open localhost:9999 && beans" \
| java -jar jmxsh-<version>.jar -n
| Command | Description |
|---|---|
open <host:port> | Connect to a remote JMX endpoint (RMI) |
open jmxmp://<host:port> | Connect to a remote JMX endpoint (JMXMP) |
open <pid> | Attach to a local JVM by process ID |
domains | List all MBean domains |
beans | List all MBeans (filter by domain with -d) |
bean <name> | Select an MBean for subsequent operations |
info | Show attributes and operations of the selected MBean |
get <attr> | Read an MBean attribute |
set <attr> <value> | Write an MBean attribute |
run <op> [args] | Invoke an MBean operation |
close | Disconnect from the JMX endpoint |
jvms | List local Java processes |
help | Show all available commands |
Tab completion and command history powered by JLine.
Connect via host:port (RMI), jmxmp:// (JMXMP), JMX URL, or local PID.
Browse domains, read/write attributes, invoke operations.
Run multiple commands in one line with &&.
Automate JMX operations via files or piped input.
Silent, brief, or verbose output modes.
Follows the XDG Base Directory spec — keeps your home directory clean.