<?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 using lsof in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-lsof/m-p/3312538#M875841</link>
    <description>I have trouble on runnnig the lsof.  It gave me a message, saying it tries to read /hp-ux.&lt;BR /&gt;Any idea what I should do?&lt;BR /&gt;&lt;BR /&gt;oberon # ./lsof -h&lt;BR /&gt;lsof 2.32 usage: [-dhHlLmnNoPst] [-c c] [-i i] [-k k] [-p l] [-S t]&lt;BR /&gt;[... delete ...]&lt;BR /&gt;The security mode is disabled -- anyone may list all open files.&lt;BR /&gt;oberon # ./lsof&lt;BR /&gt;lsof: can't read namelist from /hp-ux&lt;BR /&gt;oberon # uname -a&lt;BR /&gt;HP-UX oberon B.11.00 E 9000/770 2012345800 8-user license&lt;BR /&gt;oberon # &lt;BR /&gt;</description>
    <pubDate>Tue, 22 Jun 2004 22:49:30 GMT</pubDate>
    <dc:creator>Nelson Ko_1</dc:creator>
    <dc:date>2004-06-22T22:49:30Z</dc:date>
    <item>
      <title>using lsof</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-lsof/m-p/3312538#M875841</link>
      <description>I have trouble on runnnig the lsof.  It gave me a message, saying it tries to read /hp-ux.&lt;BR /&gt;Any idea what I should do?&lt;BR /&gt;&lt;BR /&gt;oberon # ./lsof -h&lt;BR /&gt;lsof 2.32 usage: [-dhHlLmnNoPst] [-c c] [-i i] [-k k] [-p l] [-S t]&lt;BR /&gt;[... delete ...]&lt;BR /&gt;The security mode is disabled -- anyone may list all open files.&lt;BR /&gt;oberon # ./lsof&lt;BR /&gt;lsof: can't read namelist from /hp-ux&lt;BR /&gt;oberon # uname -a&lt;BR /&gt;HP-UX oberon B.11.00 E 9000/770 2012345800 8-user license&lt;BR /&gt;oberon # &lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jun 2004 22:49:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-lsof/m-p/3312538#M875841</guid>
      <dc:creator>Nelson Ko_1</dc:creator>
      <dc:date>2004-06-22T22:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: using lsof</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-lsof/m-p/3312539#M875842</link>
      <description>The best way is to download the source program of lsof from &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/&lt;/A&gt; and then compile it for your own system, make sure you have gcc compile installed which too you can download from &lt;A href="http://hpux.connect.org.uk" target="_blank"&gt;http://hpux.connect.org.uk&lt;/A&gt; site&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 22 Jun 2004 23:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-lsof/m-p/3312539#M875842</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2004-06-22T23:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: using lsof</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-lsof/m-p/3312540#M875843</link>
      <description>You probably have the wrong version loaded for your system. Have a look here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here's an example on usage:&lt;BR /&gt;To which files are open for a given process id (pid)&lt;BR /&gt;&lt;BR /&gt;# lsof -p &lt;PID&gt; &lt;BR /&gt;&lt;BR /&gt;To see all the open files associated with a particular command.&lt;BR /&gt;&lt;BR /&gt;# lsof -c midaemon&lt;BR /&gt;&lt;BR /&gt;User name. &lt;BR /&gt;&lt;BR /&gt;# lsof -u &lt;NAME&gt; &lt;BR /&gt;# lsof -u &lt;UID&gt; &lt;BR /&gt;&lt;BR /&gt;processes being used via a socket.&lt;BR /&gt;&lt;BR /&gt;# lsof -i tcp:23 &lt;BR /&gt;# lsof -i udp:123 &lt;BR /&gt;&lt;BR /&gt;&lt;/UID&gt;&lt;/NAME&gt;&lt;/PID&gt;</description>
      <pubDate>Tue, 22 Jun 2004 23:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-lsof/m-p/3312540#M875843</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-06-22T23:19:59Z</dc:date>
    </item>
  </channel>
</rss>

