This page collects a list of frequently asked questions
Q. Why jvms command doesn't work? Whatll is it?
A. It is a command that lists all running JVM processes on host under same run as user. This feature is not official exposed by JDK therefore the implementation is very specific to the version of JDK and OS. It requires JDK instead of JRE. So far I haven't managed to make it work on Mac OS successfully. Sorry for the inconvenience.
Q. How to set a number to negative value?
A: This is a known bug 319908 where the leading dash of negative number confuses command line parser and makes it think the number is an option. This bug isn't resolved yet.
Q. Can't launch or build Jmxterm on Mac OS.
A: This bug (319066) has been fixed since version 1.0-alpha-4. Try it out.
Q. Something is failing but I don't see the details, how to turn on debugging?
A. Run following command in Jmxterm console
option -v verbose
Q. How to query a bean where name contains white space
A. Use back slash to escape any white space or special characters in command. For example
$>domain java.lang
#domain is set to java.lang
$>bean name=PS\ Survivor\ Space,type=MemoryPool
#bean is set to java.lang:name=PS Survivor Space,type=MemoryPool
Q. How to pass a null as a value
A. Special keyword "null" is reserved to stand for null pointer. If you do want to pass a string "null", wrap value with double quots.
$>set anAttribute null # Sets anAttribute to be null pointer
$>set anAttribute "null" # Sets anAttribute to be string "null"
Q. Build software on top of Jmxterm
A: This topic has been discussed for several times. In general Jmxterm is NOT an abstract layer on top of javax.management.remote package, it's not designed to allow software to communicate MBean server through an API simlier than javax.management.remote. Jmxterm is merely a command line tool to make operation easier in non-graphic environment like FTP or Telnet. It's not designed to be a library embedded as part of software even though it can be integrated with scripting languages like PERL and SHELL.





