Console - LIST SERVERS

Displays all active servers connected within a cluster.

This command was introduced in OrientDB version 2.2.

Syntax:

LIST SERVERS

Example:

  • List the servers currently connected to the cluster:

    orientdb> LIST SERVERS
    
    CONFIGURED SERVERS
    -+----+------+-----------+-------------+-----------+-----------+-----------+----------+---------
    #|Name|Status|Connections|StartedOn     |Binary    |HTTP       |UsedMemory |FreeMemory|MaxMemory
    -+----+------+-----------+-------------+-----------+-----------+-----------+----------+---------
    0|no2 |ONLINE|0          |2015-10-30...|192.168.0.6|192.168.0.6|80MB(8.80%)|215MB(23%)|910MB 
    1|no1 |ONLINE|0          |2015-10-30...|192.168.0.6|192.168.0.6|90MB(2.49%)|195MB(5%) |3.5GB   
    -+----+------+-----------+-------------+-----------+-----------+-----------+----------+---------
    
  • Use the DISPLAY command to show information on a specific server:

    orientdb> DISPLAY 0
    -------------+------------------------------
            Name | Value                        
    -------------+------------------------------
            Name | node2
          Status | ONLINE
     Connections | 0
       StartedOn | Fri Oct 30 21:41:07 CDT 2015
          Binary | 192.168.0.6:2425 
            HTTP | 192.168.0.6:2481
      UsedMemory | 80,16MB (8,80%)
      FreeMemory | 215,34MB (23,65%)
       MaxMemory | 910,50MB
    -------------+------------------------------
    

For more information on other commands, see Console Commands.