<?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: Check which process call a file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847458#M92555</link>
    <description>Thank for all your reply. It is very helpful.</description>
    <pubDate>Wed, 20 Nov 2002 02:04:58 GMT</pubDate>
    <dc:creator>huongbuixuan</dc:creator>
    <dc:date>2002-11-20T02:04:58Z</dc:date>
    <item>
      <title>Check which process call a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847453#M92550</link>
      <description>Hi all&lt;BR /&gt;How can I determine which process call a file ( it is share library)?. when I used fuser command, it is only list user used this file, not process.&lt;BR /&gt;&lt;BR /&gt;Thank</description>
      <pubDate>Tue, 19 Nov 2002 02:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847453#M92550</guid>
      <dc:creator>huongbuixuan</dc:creator>
      <dc:date>2002-11-19T02:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Check which process call a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847454#M92551</link>
      <description>you can use &lt;BR /&gt;&lt;BR /&gt;fuser -u&lt;BR /&gt;&lt;BR /&gt;check for the u option of fuser.&lt;BR /&gt;&lt;BR /&gt;If this is not helpful,then you should use the lsof utility.&lt;BR /&gt;&lt;BR /&gt;grab the lsof for 64 bit from here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/" target="_blank"&gt;ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;32 bit is here&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk" target="_blank"&gt;http://hpux.connect.org.uk&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 19 Nov 2002 02:20:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847454#M92551</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-19T02:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check which process call a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847455#M92552</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Unfortunately 'fuser' is not very good. As suggested, get hold of the 'lsof' tool. Below are some example on it's usage.&lt;BR /&gt;&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;HTH&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;&lt;/UID&gt;&lt;/NAME&gt;&lt;/PID&gt;</description>
      <pubDate>Tue, 19 Nov 2002 02:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847455#M92552</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-19T02:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Check which process call a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847456#M92553</link>
      <description>&lt;BR /&gt;fuser is a childs toy compared to &lt;BR /&gt;&lt;BR /&gt;lsof&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 19 Nov 2002 02:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847456#M92553</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-11-19T02:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Check which process call a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847457#M92554</link>
      <description>&lt;BR /&gt;Here's some other links to where you can get 'lsof'. &lt;BR /&gt;&lt;BR /&gt;64 bit &lt;BR /&gt;&lt;A href="http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/" target="_blank"&gt;http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;32 bit &lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Nov 2002 02:50:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847457#M92554</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-19T02:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check which process call a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847458#M92555</link>
      <description>Thank for all your reply. It is very helpful.</description>
      <pubDate>Wed, 20 Nov 2002 02:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-which-process-call-a-file/m-p/2847458#M92555</guid>
      <dc:creator>huongbuixuan</dc:creator>
      <dc:date>2002-11-20T02:04:58Z</dc:date>
    </item>
  </channel>
</rss>

