<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Number of socket connection in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453426#M661844</link>
    <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;I checked this command on 11.11 and 11.31 #netstat -aAn. its not giving any out put.also in ma pages i m not able to find A&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Prashant</description>
    <pubDate>Tue, 07 Jul 2009 06:31:51 GMT</pubDate>
    <dc:creator>Prashanth Waugh</dc:creator>
    <dc:date>2009-07-07T06:31:51Z</dc:date>
    <item>
      <title>Number of socket connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453422#M661840</link>
      <description>Hi All,&lt;BR /&gt;   I am using normal socket program in c in HP-UX.I want to know at a time how many client are connected to socket. Is there any command using which i can check how many user are connected to socket ?&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jul 2009 08:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453422#M661840</guid>
      <dc:creator>manan.dave</dc:creator>
      <dc:date>2009-07-06T08:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Number of socket connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453423#M661841</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Funny, I just read this in a performance book for HP-UX last night.&lt;BR /&gt;&lt;BR /&gt;netstat -aAn&lt;BR /&gt;&lt;BR /&gt;The man page for netstat will allow you to refine this output.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 06 Jul 2009 09:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453423#M661841</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-06T09:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Number of socket connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453424#M661842</link>
      <description>netstat -aAn will not work as -A is not an option in the list of switches for netstat. But you can do &lt;BR /&gt;&lt;BR /&gt;netstat -an &amp;gt; /tmp/mytempfile&lt;BR /&gt;&lt;BR /&gt;then edit this /tmp/mytempfile and look for a pattern saying "Active UNIX domain sockets". After this line, it is all sockets. It is upto you to determine what is connecting to where and then count them.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 06 Jul 2009 11:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453424#M661842</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-06T11:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Number of socket connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453425#M661843</link>
      <description>For a TCP socket, there is by defintion only one client "connected" to a socket.  There can, of course be many clients connected to a service residing at a (well) known port number.&lt;BR /&gt;&lt;BR /&gt;For UDP it gets a bit less clear.</description>
      <pubDate>Mon, 06 Jul 2009 23:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453425#M661843</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2009-07-06T23:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Number of socket connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453426#M661844</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;I checked this command on 11.11 and 11.31 #netstat -aAn. its not giving any out put.also in ma pages i m not able to find A&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Prashant</description>
      <pubDate>Tue, 07 Jul 2009 06:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453426#M661844</guid>
      <dc:creator>Prashanth Waugh</dc:creator>
      <dc:date>2009-07-07T06:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Number of socket connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453427#M661845</link>
      <description>Lsof may be useful for you:&lt;BR /&gt;&lt;BR /&gt;lsof -i@ip_address:port_number&lt;BR /&gt;lsof -i@192.168.30.80:1521</description>
      <pubDate>Tue, 07 Jul 2009 07:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453427#M661845</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2009-07-07T07:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Number of socket connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453428#M661846</link>
      <description>Do you mean programatically?&lt;BR /&gt;or with a command&lt;BR /&gt;if you are looking for a command:&lt;BR /&gt;myport is  your port num.&lt;BR /&gt;nestat -an | grep -v LISTEN |grep \.$myport | wc -l&lt;BR /&gt;&lt;BR /&gt;if you can have loopback connection then&lt;BR /&gt; netstat -an| grep '\.23 '| grep -v  -E  '\.23( )*[A-Z]'\|LISTEN |wc -l&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453428#M661846</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-07-07T10:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Number of socket connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453429#M661847</link>
      <description>Hi manan.dave, &lt;BR /&gt;&lt;BR /&gt;Could you post the program.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Rajesh Kumar</description>
      <pubDate>Tue, 07 Jul 2009 16:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-socket-connection/m-p/4453429#M661847</guid>
      <dc:creator>RajuD</dc:creator>
      <dc:date>2009-07-07T16:39:40Z</dc:date>
    </item>
  </channel>
</rss>

