<?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: How to find which process owns a TCP port in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948869#M528444</link>
    <description>why not installing lsof?</description>
    <pubDate>Thu, 16 Mar 2017 18:36:18 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2017-03-16T18:36:18Z</dc:date>
    <item>
      <title>How to find which process owns a TCP port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948709#M528441</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Could you please let me know how can I find which process is listening on given TCP port number?&lt;/P&gt;&lt;P&gt;If I run the command "netstat -na |grep &amp;lt;port number&amp;gt;" hen it showing that some process is listening but it is not showing who is listening.&lt;/P&gt;&lt;P&gt;example out put :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bash-4.3$ netstat -an |grep 2000&lt;BR /&gt;tcp 0 0 127.0.0.1.2000 *.* LISTEN&lt;BR /&gt;bash-4.3$&lt;/P&gt;&lt;P&gt;In the above example it is not clear which process is listening on TCP port 2000. Could you please let me know how can I find it?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Masthan&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 10:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948709#M528441</guid>
      <dc:creator>MasthanD</dc:creator>
      <dc:date>2017-03-16T10:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to find which process owns a TCP port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948718#M528442</link>
      <description>&lt;P&gt;You don't tell your OS.&lt;/P&gt;&lt;P&gt;However, try&lt;/P&gt;&lt;PRE&gt;lsof -i :80&lt;/PRE&gt;&lt;P&gt;Port 80, for example.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 10:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948718#M528442</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2017-03-16T10:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find which process owns a TCP port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948798#M528443</link>
      <description>&lt;P&gt;my appology, my os is HPUX 11.31.&lt;/P&gt;&lt;P&gt;Can't we get the same info using netstat command?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948798#M528443</guid>
      <dc:creator>MasthanD</dc:creator>
      <dc:date>2017-03-16T15:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to find which process owns a TCP port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948869#M528444</link>
      <description>why not installing lsof?</description>
      <pubDate>Thu, 16 Mar 2017 18:36:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948869#M528444</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2017-03-16T18:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to find which process owns a TCP port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948897#M528445</link>
      <description>&lt;P&gt;netstat does not track down the process(es) that have a port open.&lt;/P&gt;&lt;P&gt;lsof is a required tool for any sysadmin as it not only tracks port usage, it tracks open files and directories.&lt;BR /&gt;HP-UX provides fuser for open files but is not very complete at tracking usage.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 23:20:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-which-process-owns-a-tcp-port/m-p/6948897#M528445</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2017-03-16T23:20:49Z</dc:date>
    </item>
  </channel>
</rss>

