<?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: Identifying Port Usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829558#M545240</link>
    <description>Netstat -an can be of some help but, by far, the most direct mapping of port usage to a process is lsof. You can get lsof from any of the HP-UX Porting Centre's and is one of those utilities that no UNIX box should be without.</description>
    <pubDate>Mon, 24 Jul 2006 14:42:56 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-07-24T14:42:56Z</dc:date>
    <item>
      <title>Identifying Port Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829556#M545238</link>
      <description>Is there a best method for identifying what application is running on s specific port?  I would like to identify what is running on say port 8080 or 2026, etc.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Chuck</description>
      <pubDate>Mon, 24 Jul 2006 14:37:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829556#M545238</guid>
      <dc:creator>Chuck Ciesinski</dc:creator>
      <dc:date>2006-07-24T14:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Port Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829557#M545239</link>
      <description>Hi Chuck,&lt;BR /&gt;&lt;BR /&gt;I've always found lsof to be the best way to map applications to port numbers.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 24 Jul 2006 14:38:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829557#M545239</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2006-07-24T14:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Port Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829558#M545240</link>
      <description>Netstat -an can be of some help but, by far, the most direct mapping of port usage to a process is lsof. You can get lsof from any of the HP-UX Porting Centre's and is one of those utilities that no UNIX box should be without.</description>
      <pubDate>Mon, 24 Jul 2006 14:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829558#M545240</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-07-24T14:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Port Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829559#M545241</link>
      <description>Hi Chuck,&lt;BR /&gt;&lt;BR /&gt;You can also go to iana.org to see what ports software *should* be using. It's no guarantee but it can get you started - here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.iana.org/assignments/port-numbers" target="_blank"&gt;http://www.iana.org/assignments/port-numbers&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 24 Jul 2006 14:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829559#M545241</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-07-24T14:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Port Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829560#M545242</link>
      <description>I am not sure if things have changed by know&lt;BR /&gt;but I felt inclined to add that I didn't find the prebuilt binaries of lsof from the porting centre of much use since they used to be 32bit builds which crashed while executing them on our 64bit OSes.&lt;BR /&gt;I had to compile a 64bit binary myself from the sources that could be used on our 11.11 v1 boxes.&lt;BR /&gt;But compilation was straight-froward.&lt;BR /&gt;lsof is defenitely the best tool for questions like yours.&lt;BR /&gt;As an aside I would like to mention that the GNU netstat command as can be found on all Linux distros has many more features than the vanilla netstat of the venerable Unices.&lt;BR /&gt;One such feature is the -p switch to also identify the processes that use the sockets.&lt;BR /&gt;You could for instance issue&lt;BR /&gt; &lt;BR /&gt;netstat -tnp&lt;BR /&gt; &lt;BR /&gt;Maybe you could try to compile GNU netstat for HP-UX as well?</description>
      <pubDate>Tue, 25 Jul 2006 01:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829560#M545242</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2006-07-25T01:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Port Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829561#M545243</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Run &lt;BR /&gt;#&amp;gt; lsof +M |grep -e 8080  -e 2026&lt;BR /&gt;and you will see the process which running on the portd&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Tue, 25 Jul 2006 01:03:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829561#M545243</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-07-25T01:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Port Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829562#M545244</link>
      <description># lsof -i@hostname:8080 -i@hostname:2026&lt;BR /&gt;&lt;BR /&gt;if you don't specify the hostname it will show all hosts, remote and local, that are running apps on the supplied ports (8080 or 2026).</description>
      <pubDate>Tue, 25 Jul 2006 01:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-port-usage/m-p/3829562#M545244</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-07-25T01:35:03Z</dc:date>
    </item>
  </channel>
</rss>

