<?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: Looking for lsof examples in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043894#M134908</link>
    <description>Jack,&lt;BR /&gt;&lt;BR /&gt;Attached is a text file of the man page for lsof v4.55.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Aug 2003 12:15:19 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2003-08-07T12:15:19Z</dc:date>
    <item>
      <title>Looking for lsof examples</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043891#M134905</link>
      <description>Got any lsof examples to share?  I just installed it and would like to build a quick cheat sheet on using the tool for files, processes, and ports.&lt;BR /&gt;&lt;BR /&gt;I have the binary but no man pages.&lt;BR /&gt;&lt;BR /&gt;Jack...&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 12:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043891#M134905</guid>
      <dc:creator>Jack C. Mahaffey</dc:creator>
      <dc:date>2003-08-07T12:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for lsof examples</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043892#M134906</link>
      <description>Get binay and man pages at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt; :)&lt;BR /&gt;&lt;BR /&gt;    Massimo</description>
      <pubDate>Thu, 07 Aug 2003 12:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043892#M134906</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-07T12:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for lsof examples</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043893#M134907</link>
      <description>A few useful ones -&lt;BR /&gt;&lt;BR /&gt;Check for process usage on port 25:&lt;BR /&gt;# lsof -i :25&lt;BR /&gt;&lt;BR /&gt;Check for any process using the /home mount:&lt;BR /&gt;# lsof /home&lt;BR /&gt;&lt;BR /&gt;Check what TCP connection a process is using:&lt;BR /&gt;# lsof -p &lt;PID&gt; -a -i tcp&lt;BR /&gt;&lt;BR /&gt;Get the man page.  It's quite descriptive (and lengthy!).&lt;BR /&gt;&lt;/PID&gt;</description>
      <pubDate>Thu, 07 Aug 2003 12:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043893#M134907</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2003-08-07T12:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for lsof examples</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043894#M134908</link>
      <description>Jack,&lt;BR /&gt;&lt;BR /&gt;Attached is a text file of the man page for lsof v4.55.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 12:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043894#M134908</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-08-07T12:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for lsof examples</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043895#M134909</link>
      <description>Here's a sample set of commands to find out how many files each process is keeping open:&lt;BR /&gt;&lt;BR /&gt;#ps -ef | awk '{print $2}' &amp;gt; /tmp/list&lt;BR /&gt;#cat /tmp/list | while read pid&lt;BR /&gt;&amp;gt;do&lt;BR /&gt;&amp;gt;echo $pid &amp;gt;&amp;gt; /tmp/lsof.out&lt;BR /&gt;&amp;gt;lsof -p $pid &amp;gt;&amp;gt; /tmp/lsof.out&lt;BR /&gt;&amp;gt;done&lt;BR /&gt;# cat /tmp/lsof.out | more&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 12:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-lsof-examples/m-p/3043895#M134909</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-08-07T12:18:19Z</dc:date>
    </item>
  </channel>
</rss>

