interface ServerStats {
    arch_bits: number;
    atomicvar_api: string;
    config_file: string;
    configured_hz: string;
    errorParsing?: string;
    executable: string;
    gcc_version: string;
    hz: string;
    io_threads_active: string;
    lru_clock: string;
    multiplexing_api: string;
    os: string;
    process_id: string;
    process_supervised: ProcessesSupervised;
    redis_build_id: string;
    redis_git_dirty: string;
    redis_git_sha1: string;
    redis_mode: "standalone" | "sentinel" | "cluster";
    redis_version: string;
    run_id: string;
    server_time_usec: string;
    shutdown_in_milliseconds: string;
    tcp_port: string;
    uptime_in_days: string;
    uptime_in_seconds: string;
}

Properties

arch_bits: number

Architecture (32 or 64 bits)

atomicvar_api: string

Atomicvar API used by Redis

config_file: string

The path to the config file

configured_hz: string

The server's configured frequency setting

errorParsing?: string

Error parsing message

executable: string

The path to the server's executable

gcc_version: string

Version of the GCC compiler used to compile the Redis server

hz: string

The server's current frequency setting

io_threads_active: string

Flag indicating if I/O threads are active

lru_clock: string

Clock incrementing every minute, for LRU management

multiplexing_api: string

Event loop mechanism used by Redis

os: string

Operating system hosting the Redis server

process_id: string

PID of the server process

process_supervised: ProcessesSupervised

Supervised system ("upstart", "systemd", "unknown" or "no")

redis_build_id: string

The build id

redis_git_dirty: string

Git dirty flag

redis_git_sha1: string

Git SHA1

redis_mode: "standalone" | "sentinel" | "cluster"

The server's mode ("standalone", "sentinel" or "cluster")

redis_version: string

Version of the Redis server

run_id: string

Random value identifying the Redis server (to be used by Sentinel and Cluster)

server_time_usec: string

Epoch-based system time with microsecond precision

shutdown_in_milliseconds: string

The maximum time remaining for replicas to catch up the replication before completing the shutdown sequence. This field is only present during shutdown

tcp_port: string

TCP/IP listen port

uptime_in_days: string

Same value expressed in days

uptime_in_seconds: string

Number of seconds since Redis server start