资 源 简 介
jmxfuse is a python-fuse filesystem which exposes Mbeans attributes and Operations as file objects right from the shell. Read attributes using cat and invoke methods using vi. You could call it "proc for JMX"!
It relies on the brilliant Jolokia to be installed on the target Java server.
Usage
Connect
# mount a psuedo filesystem$ jmxfuse -p jmxmnt
List JMX domain
$ cd jmxmnt$ lsCatalina com.sun.management connection_info Http java.lang java.util.logging JMImplementation jmx4perl jolokia log4j rescan
Attributes
Read
$ cd log4j/root/attributes$ cat priority
Write
$ echo "WARN" >> priority
Operations
Get Description
$ cd ~/jmxfuse$ cd Catalina/none/none/WebModul