Skip to main content
Version: 0.7.5

SYS

Get system information and metrics

INFO

About

Time complexity: O(1)
Accept type:

Return type:

Syntax:

  • sys info <property>

Returns static properties of the system, i.e properties that do not change during runtime. The following properties are available:

  • version: Returns the server version (String)
  • protocol: Returns the protocol version string (String)
  • protover: Returns the protocol version (float)

METRIC

About

Time complexity: O(1)
Accept type:

Return type:

Syntax:

  • sys metric <metric>

Returns dynamic properties of the system, i.e metrics are properties that can change during runtime. The following metrics are available:

  • health: Returns "good" or "critical" depending on the system state (String)
  • storage: Returns bytes used for on-disk storage (uint64)