getConnections

Syntax

getConnections()

Arguments

None

Details

Return information about all network connections on the local node. It can be executed on all nodes.

The result has three columns:
  • The first column (server) is the IP address and port number of the local node.

  • The second column (client) is the IP address and port number of a remote node.

  • The third column (startTime) is timestamp when the connection was established.

Examples

getConnections()
server client startTime
localhost:8848 127.0.0.1:62546 2021.09.02T16:50:57.814
localhost:8848 127.0.0.1:63081 2021.09.02T10:50:16.350
localhost:8848 127.0.0.1:57559 2021.09.02T16:50:57.736