Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Viewing TCP connections on server

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    How can we see the number of open sockets and the number of TCP connections of different kinds on a server?  

    Resolution

    The unix "netstat" command displays the TCP connections (both incoming and outgoing) on the server.  It includes the port being used.

    The following can be used to get the number of open sockets:
     > netstat -n |wc 

    And the following, to see the number of sip2 TCP connections in the case where sip2 is running on port 5331:
     > netstat | more > jsnetstat
     > grep -c 5331 jsnetstat

     

     


    • Article last edited: 11-Aug-2016
    • Was this article helpful?