Back to Redis

HOTKEYS STOP

content/commands/hotkeys-stop.md

latest1.4 KB
Original Source

Stops hotkeys tracking but preserves the collected data.

After stopping, the tracking data remains available through [HOTKEYS GET]({{< relref "/commands/hotkeys-get" >}}) until [HOTKEYS RESET]({{< relref "/commands/hotkeys-reset" >}}) is called or a new tracking session is started.

Redis Software and Redis Cloud compatibility

| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |

Return information

{{< multitabs id="return-info" tab1="RESP2" tab2="RESP3" >}} One of the following:

  • [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): OK when tracking is successfully stopped.
  • [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}): when tracking is not currently active.

-tab-sep-

One of the following:

  • [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): OK when tracking is successfully stopped.
  • [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}): when tracking is not currently active.

{{< /multitabs >}}