<?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 Port (TCP) x Process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072586#M904967</link>
    <description>Hi&lt;BR /&gt; &lt;BR /&gt;   Is there a way to know to which process belong a particular port?&lt;BR /&gt; &lt;BR /&gt;   Example in port 32773-32779 are known to be for rpc services. But to which process &lt;BR /&gt;&lt;BR /&gt;do they pertain to, that's another issue?&lt;BR /&gt; &lt;BR /&gt;   In linux the command is:&lt;BR /&gt; &lt;BR /&gt;   # netstat -anp (where "p" is process ID)&lt;BR /&gt; &lt;BR /&gt;   Thanks !!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marcus Vinicius de O. Azevedo</description>
    <pubDate>Tue, 16 Sep 2003 17:50:34 GMT</pubDate>
    <dc:creator>Kiko Azevedo</dc:creator>
    <dc:date>2003-09-16T17:50:34Z</dc:date>
    <item>
      <title>Port (TCP) x Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072586#M904967</link>
      <description>Hi&lt;BR /&gt; &lt;BR /&gt;   Is there a way to know to which process belong a particular port?&lt;BR /&gt; &lt;BR /&gt;   Example in port 32773-32779 are known to be for rpc services. But to which process &lt;BR /&gt;&lt;BR /&gt;do they pertain to, that's another issue?&lt;BR /&gt; &lt;BR /&gt;   In linux the command is:&lt;BR /&gt; &lt;BR /&gt;   # netstat -anp (where "p" is process ID)&lt;BR /&gt; &lt;BR /&gt;   Thanks !!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marcus Vinicius de O. Azevedo</description>
      <pubDate>Tue, 16 Sep 2003 17:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072586#M904967</guid>
      <dc:creator>Kiko Azevedo</dc:creator>
      <dc:date>2003-09-16T17:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Port (TCP) x Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072587#M904968</link>
      <description>If you mean associating a port with a process id, you may use "lsof" to do that.&lt;BR /&gt;&lt;BR /&gt;you can download it and use it.&lt;BR /&gt;&lt;BR /&gt;lsof -i @hostname:port&lt;BR /&gt;&lt;BR /&gt;for more options use lsof -h&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Great utility to use.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 16 Sep 2003 17:56:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072587#M904968</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2003-09-16T17:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Port (TCP) x Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072588#M904969</link>
      <description>Hi Marcus,&lt;BR /&gt;&lt;BR /&gt;netstat will not give you that info.&lt;BR /&gt;Best way to get it is to use the lsof command.&lt;BR /&gt;It's a free 3rd party program &amp;amp; available here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's a tool ALL SAs should have on all systems.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 16 Sep 2003 17:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072588#M904969</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-09-16T17:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Port (TCP) x Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072589#M904970</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   There is no built in tool. You have to download lsof tool from the net to&lt;BR /&gt;achive this.&lt;BR /&gt;&lt;BR /&gt;   Once you download and install lsof command then you can use&lt;BR /&gt;&lt;BR /&gt;   # lsof -i:portnumber&lt;BR /&gt;&lt;BR /&gt;  to find out the processes using the port number&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Sundar.</description>
      <pubDate>Tue, 16 Sep 2003 18:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-tcp-x-process/m-p/3072589#M904970</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-09-16T18:12:43Z</dc:date>
    </item>
  </channel>
</rss>

