Skip to main content

Source code browse

Revision: 57029

GLASSFISH-18987 Remove call to getService in critical path
» Project Revision History

» Checkout URL

svn / branches / grizzly_perf / extras / jmxcmd

FilenameAuthorRevisionModifiedLog Entry
..
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
jfarcand 26708 almost 5 years ago New branch for performance work ...
#--- Building ---

# build it
mvn install

# create the publish directory with everything in it
# this should be added to pom.xml, build help anyone?
./make-jmxcmd.sh

#--- Dependency requirements (post-build) ---

# Requires amx-api.jar from GlassFish V3, other jars optional
export V3=/v3/glassfish
cp $V3/modules/amx-api.jar ./publish/jars

########################### Examples
# See  docs/index.html

# Connecting to a JMX server over the RMI connector
./publish/jmxcmd   # start in interactive mode
connect --port 8686 --jndi-name /jmxrmi --protocol rmi local-rmi

# show all MBeans in jmx domain 'amx'
jmxcmd> find amx:

# show all MBeans having property 'j2eeType' equal to X-HTTPListenerConfig 
jmxcmd> find j2eeType=X-HTTPListenerConfig

# target MBeans with property 'j2eeType=X-DomainRoot'
jmxcmd> target j2eeType=X-DomainRoot

# view MBeanInfo
jmxcmd> inspect

# get help
jmxcmd> help



 
 
Close
loading
Please Confirm
Close