<?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: Finding the port number information in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137385#M154443</link>
    <description>This complete lsof FAQ will be useful too:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/FAQ/" target="_blank"&gt;ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/FAQ/&lt;/A&gt;</description>
    <pubDate>Fri, 05 Dec 2003 11:29:55 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2003-12-05T11:29:55Z</dc:date>
    <item>
      <title>Finding the port number information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137379#M154437</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  How to find out how many processes are getting served by a particular port number &amp;amp; related information..Is there any command which will give the above information, apart from 'rpcinfo'..Is the command 'lsof' will provide this information..if yes please provide me the lsof script &amp;amp; the options to use it.&lt;BR /&gt;  if anybody is free..please provide me the solution asap...waiting for your prompt reply. :)&lt;BR /&gt;&lt;BR /&gt;Thank You,&lt;BR /&gt;Best Regards,&lt;BR /&gt;Phani Varma P.</description>
      <pubDate>Fri, 05 Dec 2003 10:13:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137379#M154437</guid>
      <dc:creator>phani_3</dc:creator>
      <dc:date>2003-12-05T10:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the port number information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137380#M154438</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have you tried "netstat -an". Grep for the port number you want.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Dec 2003 10:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137380#M154438</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2003-12-05T10:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the port number information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137381#M154439</link>
      <description>Yes, you can use lsof for getting those information. It's a free download from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.69/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.69/&lt;/A&gt;</description>
      <pubDate>Fri, 05 Dec 2003 10:16:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137381#M154439</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-05T10:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the port number information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137382#M154440</link>
      <description>Hi Wilson&lt;BR /&gt;&lt;BR /&gt;     Thanks for your information..Can you give me the particular options/syntax to use lsof so that i can get the desired output.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Phani</description>
      <pubDate>Fri, 05 Dec 2003 10:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137382#M154440</guid>
      <dc:creator>phani_3</dc:creator>
      <dc:date>2003-12-05T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the port number information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137383#M154441</link>
      <description>lsof -i&lt;BR /&gt;command will give you all ports and their associated process IDs.&lt;BR /&gt;&lt;BR /&gt;you can do a grep.&lt;BR /&gt;&lt;BR /&gt;lsof -i | grep 389&lt;BR /&gt;&lt;BR /&gt;You can also use lsof with -k option to kill.&lt;BR /&gt;&lt;BR /&gt;-Vijay&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Dec 2003 10:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137383#M154441</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-12-05T10:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the port number information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137384#M154442</link>
      <description>You can read the help file for lsof for all available optoins. Here are some of them:&lt;BR /&gt;&lt;BR /&gt;# lsof -c your_command (will tell you all process that opened with 'your_command')&lt;BR /&gt;&lt;BR /&gt;# lsof -p PID (open files from a process PID)&lt;BR /&gt;# lsof -u UID/user_name (open files for a user login)&lt;BR /&gt;&lt;BR /&gt;# lsof -i tcp:200 (process list on the socket by tcp protocol)</description>
      <pubDate>Fri, 05 Dec 2003 11:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137384#M154442</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-05T11:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the port number information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137385#M154443</link>
      <description>This complete lsof FAQ will be useful too:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/FAQ/" target="_blank"&gt;ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/FAQ/&lt;/A&gt;</description>
      <pubDate>Fri, 05 Dec 2003 11:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137385#M154443</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-05T11:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the port number information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137386#M154444</link>
      <description>lsof -i tcp:?? where ??=portnumber&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;lsof -i tcp:80&lt;BR /&gt;lsof -i tcp:8080&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Fri, 05 Dec 2003 12:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-the-port-number-information/m-p/3137386#M154444</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2003-12-05T12:16:28Z</dc:date>
    </item>
  </channel>
</rss>

