Created On:  20 March 2012

Problem:

A region in Enterprise Server might be unresponsive and you want to know if it is really down. You'd like to be able to determine if it is still up-and-running.

Resolution:

The regions have listeners which utilize ports. If the ports are not in use by the listeners the region is not up.

On Windows and UNIX systems there is a command, netstat, which displays protocol statistics and current TCP/IP network connections. The -a option to netstat can be used to find the listening ports; therefore passing netstat the port number will show whether or not a listener is engaged (and thence whether or not a region is up).

Use the following command in a DOS command shell on Windows:


  netstat -a | findstr {port}

or use this on a UNIX system

  netstat -a | grep {port}


It will be seen whether or not the listener is listening. On Windows the display will show LISTENING; on UNIX it will show LISTEN on the same line as the port number (that line might also show "tcp").

Incident #2556404