Redis Commands
- A
- B
- Client
-
Cluster
- Cluster-addslots
- Cluster-addslotsrange
- Cluster-bumpepoch
- Cluster-count-failure-reports
- Cluster-countkeysinslot
- Cluster-delslots
- Cluster-delslotsrange
- Cluster-failover
- Cluster-flushslots
- Cluster-forget
- Cluster-getkeysinslot
- Cluster-help
- Cluster-info
- Cluster-keyslot
- Cluster-links
- Cluster-meet
- Cluster-myid
- Cluster-myshardid
- Cluster-nodes
- Cluster-replicas
- Cluster-replicate
- Cluster-reset
- Cluster-saveconfig
- Cluster-set-config-epoch
- Cluster-setslot
- Cluster-shards
- Cluster-slaves
- Cluster-slots
- Cluster
- Command
- Config
- D
- E
- F
- G
- H
- I
- K
- L
- M
- O
- P
- Q
- R
- S1
- S2
- T
- U
- W
- X
- Z1
- Z2
Docs > Redis Commands > F > Function-stats
Return information about the function that's currently running and information about the available execution engines.
The reply is map with two keys:
running_script
: information about the running script. If there's no in-flight function, the server replies with a nil. Otherwise, this is a map with the following keys:- name: the name of the function.
- command: the command and arguments used for invoking the function.
- duration_ms: the function's runtime duration in milliseconds.
engines
: this is a map of maps. Each entry in the map represent a single engine. Engine map contains statistics about the engine like number of functions and number of libraries.
You can use this command to inspect the invocation of a long-running function and decide whether kill it with the FUNCTION KILL
command.
For more information please refer to Introduction to Redis Functions.
@return
@array-reply