Blogs

How do I determine which device connections are being handled by a node?

By Erdem posted 03-14-2016 15:51

  

Question

How do I determine which device connections are being handled by a node?

Answer

  1. Connect to the node by using SSH
  2. Using the Junos Space Settings Menu, access the debug shell.
  3. Execute the netstat -tnp | egrep ":7804|:22|:23" | grep ESTABLISHED | grep java command.
    A sample output of this command follows. 

g041677


The output displays one line for each device connected to this node. In this example, the node includes two device initiated connections and five Junos Space initiated connections. The IP addresses of the devices are displayed in the fifth column.


For more information, click High Availability and Disaster Recovery Guide.


#FAQ