|Deploying and Running Pivotal GemFire / Using the GemFire SHell (gfsh)|
Before you start gfsh, confirm that you have set the GEMFIRE and either the GF_JAVA or JAVA_HOME environment variables to the proper locations for your deployment, or that your PATH variable includes the java executable.
See Installing Pivotal GemFire for more information.
To manage servers and locators properly, gfsh requires that tools.jar (provided with the JDK) exist in the CLASSPATH.
To launch the gfsh command-line interface, execute the following command at the prompt on any machine that is currently installed with GemFire:
<product_directory>\bin\gfsh.batwhere <product_directory> corresponds to the location where you installed GemFire.
<product_directory>/bin/gfshwhere <product_directory> corresponds to the location where you installed GemFire. If you installed GemFire using RPM, the default product directory installation location is /opt/vmware/vfabric-gemfire. Upon execution, the gfsh script appends the required GemFire and JDK .jar libraries to your existing CLASSPATH.
c:\PivotalGemFire70\Latest>gfsh.bat _________________________ __ / _____/ ______/ ______/ /____/ / / / __/ /___ /_____ / _____ / / /__/ / ____/ _____/ / / / / /______/_/ /______/_/ /_/ v7.0.1 Monitor and Manage GemFire gfsh>You can also run some gfsh commands directly within your terminal without entering a gfsh prompt. For example, on Unix/Linux you could enter:
$ gfsh start server --name=server1or on Windows:
prompt> gfsh start server --name=server1See Creating and Running gfsh Command Scripts for more information.