gfsh (pronounced “jee-fish”) provides a single, powerful command-line interface from which you can launch, manage, and monitor Geode processes, data, and applications.
gfshsupports the administration, debugging, and deployment of Apache Geode processes and applications.
Before you start
gfsh, confirm that you have set JAVA_HOME and that your PATH variable includes the
gfshbash script automatically append the required Apache Geode 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
gfshshell variables in scripts.
gfshutility 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.
gfshcommands allow JSON specifications within command-line options.
This topic takes you through a typical sequence of tasks that you execute after starting
This quick reference sorts all commands into functional areas.
This section provides help and usage information on all
gfshcommands, listed alphabetically.
gfshoffers several ways to run commands in a scripting environment.
You can configure a Geode cluster using either cache.xml files, or you can use
gfshand the cluster configuration service to configure a cluster. This section maps cache.xml elements to the
gfshcommands that configure and manage a cluster.