<?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: Command to kill a port running on a particular network interface in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071037#M307515</link>
    <description>&amp;gt;I have a process not showing up by various options of ps command.  I saw it is listening on a particular port by "netstat an|grep i- listen" command&lt;BR /&gt;&lt;BR /&gt;This is just about impossible.  Possibly for zombies.  I suppose netstat could be reporting stale data?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can I install lsof with normal user account?&lt;BR /&gt;&lt;BR /&gt;I wouldn't think so, it may use root to get the info it needs.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I mean how do I trace the PID if port is known?&lt;BR /&gt;&lt;BR /&gt;Searching ITRC for lsof and port gives:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=112311" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=112311&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1139542" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1139542&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=37108" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=37108&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1102052" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1102052&lt;/A&gt;</description>
    <pubDate>Sat, 15 Sep 2007 22:18:14 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-09-15T22:18:14Z</dc:date>
    <item>
      <title>Command to kill a port running on a particular network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071033#M307511</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a process not showing up by various options of ps command. I saw it is listening on a particular port by "netstat an|grep i- listen" command. This listening port prevent the process while starting.&lt;BR /&gt;&lt;BR /&gt;I was able to get the pid of the process few months ago on a different system using lsof and killed it.&lt;BR /&gt;&lt;BR /&gt;I am facing similar situation on a machine where lsof is not installed. &lt;BR /&gt;&lt;BR /&gt;Is there any way to execute lsof running on a different host ?&lt;BR /&gt;&lt;BR /&gt;We have ssh running on both the machines. I tried couple of quick option but could not invoke lsof from different host.&lt;BR /&gt;&lt;BR /&gt;Appreciate if anyone can provide correct syntax ?&lt;BR /&gt;&lt;BR /&gt;Is there any command on Unix to kill a port running on a particular network IP interace ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Sat, 15 Sep 2007 14:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071033#M307511</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2007-09-15T14:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Command to kill a port running on a particular network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071034#M307512</link>
      <description>Hi Shiv:&lt;BR /&gt;&lt;BR /&gt;The installation of 'lsof' doesn't require a reboot, so why not download and install it on the machine missing it?  It is one of those tools that every server should have.  Finding the pid of a process associated with a port virtually requires 'lsof'.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&amp;amp;description=on&amp;amp;term=lsof" target="_blank"&gt;http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&amp;amp;description=on&amp;amp;term=lsof&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 15 Sep 2007 15:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071034#M307512</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-09-15T15:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Command to kill a port running on a particular network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071035#M307513</link>
      <description>Shalom Shiv,&lt;BR /&gt;&lt;BR /&gt;lsof must be installed on the system you are trying to kill the process on. System A can't get process table information on system B unless it remotely logs in.&lt;BR /&gt;&lt;BR /&gt;Why not do this:&lt;BR /&gt;netstat -an | grep ":portnumber"&lt;BR /&gt;&lt;BR /&gt;netstat -an | grep ":2504"&lt;BR /&gt;&lt;BR /&gt;Then use that information to identify the process. You might not even need lsof to do it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 15 Sep 2007 16:32:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071035#M307513</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-15T16:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Command to kill a port running on a particular network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071036#M307514</link>
      <description>Hi Steven and James,&lt;BR /&gt;&lt;BR /&gt;I do not have root access to that box. Can i install lsof with normal user account ?&lt;BR /&gt;&lt;BR /&gt;Secondly, if i get the port number with netstat then which command will help in associating with port number ? I mean how do I trace the PID if port is known ? &lt;BR /&gt;&lt;BR /&gt;Thanks and best regards,&lt;BR /&gt;Shiv</description>
      <pubDate>Sat, 15 Sep 2007 19:57:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071036#M307514</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2007-09-15T19:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Command to kill a port running on a particular network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071037#M307515</link>
      <description>&amp;gt;I have a process not showing up by various options of ps command.  I saw it is listening on a particular port by "netstat an|grep i- listen" command&lt;BR /&gt;&lt;BR /&gt;This is just about impossible.  Possibly for zombies.  I suppose netstat could be reporting stale data?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can I install lsof with normal user account?&lt;BR /&gt;&lt;BR /&gt;I wouldn't think so, it may use root to get the info it needs.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I mean how do I trace the PID if port is known?&lt;BR /&gt;&lt;BR /&gt;Searching ITRC for lsof and port gives:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=112311" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=112311&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1139542" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1139542&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=37108" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=37108&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1102052" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1102052&lt;/A&gt;</description>
      <pubDate>Sat, 15 Sep 2007 22:18:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-kill-a-port-running-on-a-particular-network-interface/m-p/4071037#M307515</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-15T22:18:14Z</dc:date>
    </item>
  </channel>
</rss>

