Skip to content

mhueb/jmxcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jmxcli

Simple light weight jmx command line utility.

usage

jmxcli {commands} {options}

commands:
	lo                                               List available objects
	la <object name>                                 List available attributes
	get <object name> <attribute name> [-key key]    Get attribute value
	
options:
	-s <server>                                      JMX server
	-user <username>                                 Username for authentication
	-password <password>                             Password for authentication
	-key <key>                                       Composite key path

example

	jmxcli.sh -s service:jmx:remoting-jmx://localhost:4447 lo
	jmxcli.sh -s service:jmx:remoting-jmx://localhost:4447 get java.lang:type=Threading ThreadCount
	jmxcli.sh -s service:jmx:remoting-jmx://localhost:4447 get java.lang:type=Memory HeapMemoryUsage -key used,init

deployment

jmxcli is just one small jar.

jmxcli/
	jmxcli.bat
	jmxcli.sh
	lib/
		jmxcli-x.y.z.jar
		<optional jars>

You may need additional jars to support special protocols. For use with jboss-as-7 add jboss-client.jar into lib folder.

About

Simple jmx command line utillity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors