Skip to content
Developer Edition runs on one host and does not require a product license file. Need multi-host deployment or performance testing at scale? Explore Enterprise Edition

SHOW SERVICES command

The SHOW SERVICES command returns information about all the Graph and Storage services in the current service group.

The following table describes the returned information:

Column Description
host The hostname or IP address registered for the service.
port The port of the service.
status The status of the service. Valid values: ONLINE and OFFLINE.
service_type The type of the service. Valid values: GRAPH, STORAGE, and META.
git_info_sha The Git commit ID of the service.
leader_count The number of leader replicas in the current Storage service. Returned only when you run the SHOW SERVICES STORAGE command.
part_count The number of partition replicas hosted by the current Storage service, including data partitions and the system part. Returned only when you run the SHOW SERVICES STORAGE command.
version The version of the service.

Syntax

show_services_command
SHOW SERVICES META STORAGE GRAPH

show_services_command ::=
    'SHOW' 'SERVICES' ('META' | 'STORAGE' | 'GRAPH')?

Parameters

META | STORAGE | GRAPH

Specifies the type of services to display. If omitted, only Graph and Storage services are displayed.

Examples

Developer Edition has one Graph service, one Storage service, and one Meta service. Returned addresses, versions, and statuses reflect the current instance.

Show Graph and Storage services

SHOW SERVICES

Show Storage services

SHOW SERVICES STORAGE

Show Graph services

SHOW SERVICES GRAPH

Show Meta services

SHOW SERVICES META