Console - LIST SERVERS

Displays all active servers connected within a cluster.

This command was introduced in OrientDB version 2.2.

Syntax:

  1. LIST SERVERS

Example:

  • List the servers currently connected to the cluster:

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

    1. orientdb> DISPLAY 0
    2. -------------+------------------------------
    3. Name | Value
    4. -------------+------------------------------
    5. Name | node2
    6. Status | ONLINE
    7. Connections | 0
    8. StartedOn | Fri Oct 30 21:41:07 CDT 2015
    9. Binary | 192.168.0.6:2425
    10. HTTP | 192.168.0.6:2481
    11. UsedMemory | 80,16MB (8,80%)
    12. FreeMemory | 215,34MB (23,65%)
    13. MaxMemory | 910,50MB
    14. -------------+------------------------------

For more information on other commands, see Console Commands.