Skip to content

pidster-dot-org/jmx-stethoscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JMX Stethoscope

This is a simple tool for inspecting a running JVM process. It uses the Java Attach API to connect to the process and then provides data from some of the key JMX MBeans.

Download

You can download a package, from here: jmx-stethoscope-0.1.tar.gz — A initial release of jmx-stethoscope-0.1.tar.gz

Usage

So, now you've got downloaded it, what are you going to do with it? Running the 'help' command is always worth a try:

sh jmx-stethoscope-0.1/scope --help

Here's the usage information:

Usage: scope [--help | --list | <pid> [--console | --info | --system | --threads | --mbeans <namequery> | --get <namequery> [<attr>]]]

Commands

The following commands are available:

--list

Find and list JVM processes available to the current user.

--console

Launch an interactive console, the same commands are availble inside the console/

--info

Connect to process id and execute the 'info' command.

--system

Connect to process id and execute the 'system' command.

--threads

Connect to process id and execute the 'threads' command.

--mbeans

Connect to process id and execute the 'mbeans' command.

--get []

Connect to process id and execute the 'namequery' command.

About

An extremely simple tool for inspecting some JMX properties

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published