The systemExplorer example is a command-line application
that allows the user to exercise GemFire's
API. The example is located in the GemFire installation under
Before running this application, you need to configure your environment according to the instructions provided under the GemFire installation in examples/EnvSetup.html.
Once your environment is set, change to the
directory to run the application.
This sample startup line starts the application using all defaults:
You may optionally specify a
gemfire.properties file as an argument to
SystemExplorer. It will also automatically pick up any
file that you place in the
examples/dist/systemExplorer directory. The
application will then use the values in the properties file to determine
details on the system it will connect to:
java systemExplorer.SystemExplorer c:\gemfire.properties
Another way to specify system details to the application includes the use
-Dpropertyname=value arguments. The following starts the application and
specifies connecting to a distributed system using multicast port 10412:
java -Dgemfire.mcast-port=10412 systemExplorer.SystemExplorerFull details on properties that can be used to specify connection details are covered in the Javadocs for
Once started, the application allows you to perform many of the
administration activities available through the Java API. Enter
help to see a list of commands.