---
title:  gfsh Command Help
---

<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

This section provides help and usage information on all `gfsh` commands, listed alphabetically.

-   **[alter](../../tools_modules/gfsh/command-pages/alter.html)**

    Modify an existing <%=vars.product_name%> resource.

-   **[backup disk-store](../../tools_modules/gfsh/command-pages/backup.html)**

    Back up persistent data from all members to the specified directory.

-   **[change loglevel](../../tools_modules/gfsh/command-pages/change.html)**

    Changes the logging level on specified members.

-   **[clear defined indexes](../../tools_modules/gfsh/command-pages/clear.html)**

    Clears all the defined indexes.

-   **[close](../../tools_modules/gfsh/command-pages/close.html)**

    Close durable client CQs and durable clients.

-   **[compact](../../tools_modules/gfsh/command-pages/compact.html)**

    Compact online and offline disk-stores.

-   **[configure](../../tools_modules/gfsh/command-pages/configure.html)**

    Configure Portable Data eXchange for all the cache(s) in the cluster.

-   **[connect](../../tools_modules/gfsh/command-pages/connect.html)**

    Connect to a jmx-manager either directly or via a locator.

-   **[create](../../tools_modules/gfsh/command-pages/create.html)**

    Create async-event-queues, disk-stores, gateway receivers, gateway senders, indexes, and regions.

-   **[debug](../../tools_modules/gfsh/command-pages/debug.html)**

    Enable or disable debugging output in `gfsh`.

-   **[define index](../../tools_modules/gfsh/command-pages/define.html)**

    Define an index that can be used when executing queries. Then, you can execute a single command to create multiple indexes all at once using `create defined          indexes`.

-   **[deploy](../../tools_modules/gfsh/command-pages/deploy.html)**

    Deploy JAR-packaged applications to a member or members.

-   **[describe](../../tools_modules/gfsh/command-pages/describe.html)**

    Display details of a member's configuration, shell connection, disk-stores, members, or regions.

-   **[destroy](../../tools_modules/gfsh/command-pages/destroy.html)**

    Delete or unregister functions, remove indexes, disk stores and regions.

-   **[disconnect](../../tools_modules/gfsh/command-pages/disconnect.html)**

    Close any active connection(s).

-   **[echo](../../tools_modules/gfsh/command-pages/echo.html)**

    Echo the given text, which may include system and user variables.

-   **[execute function](../../tools_modules/gfsh/command-pages/execute.html)**

    Execute functions on members or regions.

-   **[exit](../../tools_modules/gfsh/command-pages/exit.html)**

    Exit the `gfsh` shell. You can also use `quit` to exit the shell.

-   **[export](../../tools_modules/gfsh/command-pages/export.html)**

    Export configurations, data, logs and stack-traces.

-   **[gc](../../tools_modules/gfsh/command-pages/gc.html)**

    Force GC (Garbage Collection) on a member or members.

-   **[get](../../tools_modules/gfsh/command-pages/get.html)**

    Display an entry in a region.

-   **[help](../../tools_modules/gfsh/command-pages/help.html)**

    Display syntax and usage information for all the available commands.

-   **[hint](../../tools_modules/gfsh/command-pages/hint.html)**

    Display information on topics and a list of commands associated with a topic.

-   **[history](../../tools_modules/gfsh/command-pages/history.html)**

    Show or save the command history.

-   **[import](../../tools_modules/gfsh/command-pages/import.html)**

    You can import data into a region or import an existing cluster configuration into the cluster.

-   **[list](../../tools_modules/gfsh/command-pages/list.html)**

    List existing <%=vars.product_name%> resources such as deployed applications, disk-stores, functions, members, servers, and regions.

-   **[load-balance gateway-sender](../../tools_modules/gfsh/command-pages/load-balance.html)**

    Causes the specified gateway sender to close its current connections and reconnect to remote gateway receivers in a more balanced fashion.

-   **[locate entry](../../tools_modules/gfsh/command-pages/locate.html)**

    Locate a region entry on a member.

-   **[netstat](../../tools_modules/gfsh/command-pages/netstat.html)**

    Report network information and statistics via the "netstat" operating system command.

-   **[pause gateway-sender](../../tools_modules/gfsh/command-pages/pause.html)**

    Pause a gateway sender.

-   **[pdx rename](../../tools_modules/gfsh/command-pages/pdx.html)**

    Renames PDX types in an offline disk store.

-   **[put](../../tools_modules/gfsh/command-pages/put.html)**

    Add or update a region entry.

-   **[query](../../tools_modules/gfsh/command-pages/query.html)**

    Run queries against <%=vars.product_name%> regions.

-   **[rebalance](../../tools_modules/gfsh/command-pages/rebalance.html)**

    Rebalance partitioned regions.

-   **[remove](../../tools_modules/gfsh/command-pages/remove.html)**

    Remove an entry from a region.

-   **[resume gateway-sender](../../tools_modules/gfsh/command-pages/resume.html)**

    Resume any gateway senders that you have paused.

-   **[revoke missing-disk-store](../../tools_modules/gfsh/command-pages/revoke.html)**

    Instruct the member(s) of a distributed system to stop waiting for a disk store to be available.

-   **[run](../../tools_modules/gfsh/command-pages/run.html)**

    Execute a set of GFSH commands.

-   **[set variable](../../tools_modules/gfsh/command-pages/set.html)**

    Set variables in the GFSH environment.

-   **[sh](../../tools_modules/gfsh/command-pages/sh.html)**

    Execute operating system commands.

-   **[show](../../tools_modules/gfsh/command-pages/show.html)**

    Display deadlocks, logs, metrics and missing disk-stores.

-   **[shutdown](../../tools_modules/gfsh/command-pages/shutdown.html)**

    Stop all members.

-   **[sleep](../../tools_modules/gfsh/command-pages/sleep.html)**

    Delay `gfsh` command execution.

-   **[start](../../tools_modules/gfsh/command-pages/start.html)**

    Start servers, locators, gateway senders and gateway receivers, and monitoring tools.

-   **[status](../../tools_modules/gfsh/command-pages/status.html)**

    Check the status of the cluster configuration service and <%=vars.product_name%> member processes, including locators, gateway receivers, gateway senders, and servers.

-   **[stop](../../tools_modules/gfsh/command-pages/stop.html)**

    Stop gateway receivers, gateway senders, locators and servers.

-   **[undeploy](../../tools_modules/gfsh/command-pages/undeploy.html)**

    Undeploy the JAR files that were deployed on members or groups using `deploy` command.

-   **[validate offline-disk-store](../../tools_modules/gfsh/command-pages/validate.html)**

    Validate offline disk stores.

-   **[version](../../tools_modules/gfsh/command-pages/version.html)**

    Display product version information.


