gfsh (pronounced “jee-fish”) provides a single, powerful command-line interface from which you can launch, manage, and monitor GemFire processes, data, and applications.
gfsh supports the administration, debugging, and deployment of VMware GemFire processes and applications.
Before you start
gfsh, confirm that you have set JAVA_HOME and that your PATH variable includes the
Configuring the gfsh Environment
gfsh bash script automatically append the required VMware GemFire and JDK .jar libraries to your existing CLASSPATH. There are user-configurable properties you can set for security, environment variables, logging, and troubleshooting.
You can use the built-in
gfsh shell variables in scripts.
Basic Shell Features and Command-Line Usage
gfsh utility provides useful features for a shell environment, including command auto-complete, preserved command history, and delimiting of multi-line commands. Context-sensitive help is available by command and by topic.
Specifying JSON within Command-Line Options
gfsh commands allow JSON specifications within command-line options.
Tutorial—Performing Common Tasks with gfsh
This topic takes you through a typical sequence of tasks that you execute after starting
Quick Reference of gfsh Commands by Functional Area
This quick reference sorts all commands into functional areas.
This section provides help and usage information on all
gfsh commands, listed alphabetically.
Creating and Running gfsh Command Scripts
gfsh offers several ways to run commands in a scripting environment.
Mapping of cache.xml Elements to gfsh Configuration Commands.
You can configure a GemFire cluster using either cache.xml files, or you can use
gfsh and the cluster configuration service to configure a cluster. This section maps cache.xml elements to the
gfsh commands that configure and manage a cluster.