INFO
Returns server information and statistics.
Syntax
Section titled “Syntax”INFO [section ...]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
section | string | No | One or more section names to filter (not yet implemented) |
Return Value
Section titled “Return Value”Bulk string containing server information formatted as key:value pairs grouped under # Section headers.
Currently returned sections:
| Section | Fields |
|---|---|
Server | kronotop_version, redis_mode, os |
Cluster | cluster_enabled |
Behavior
Section titled “Behavior”Builds and returns a bulk string with server metadata. Each section is prefixed with a # SectionName header, followed
by key:value lines.
Section filtering is not yet implemented. All sections are returned regardless of arguments.
This command does not require the cluster to be initialized.
Errors
Section titled “Errors”No command-specific errors.
Examples
Section titled “Examples”127.0.0.1:5484> INFO# Serverkronotop_version:0.13redis_mode:clusteros:Linux 5.15.0 amd64
# Clustercluster_enabled:1