<?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: file opened ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993402#M124928</link>
    <description>What do you mean "how a process has opened a file",like what flags (ReadOnly) etc?&lt;BR /&gt;Tusc can show system calls like open(),creat() etc,get it on &lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.5/." target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.5/.&lt;/A&gt;&lt;BR /&gt;Or lsof can show you files opened by proc. :&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
    <pubDate>Tue, 10 Jun 2003 13:28:09 GMT</pubDate>
    <dc:creator>Zeev Schultz</dc:creator>
    <dc:date>2003-06-10T13:28:09Z</dc:date>
    <item>
      <title>file opened ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993400#M124926</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;is possible with a unix command to know how a process has opened a file ?  &lt;BR /&gt;&lt;BR /&gt;This because I've a log file that increase in dimension and either with &amp;gt;logfile or cat /dev/null &amp;gt;logfile  dimension remain the same and continue grow &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jun 2003 13:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993400#M124926</guid>
      <dc:creator>Claudio_17</dc:creator>
      <dc:date>2003-06-10T13:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: file opened ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993401#M124927</link>
      <description>You can see who has a file open by doing:&lt;BR /&gt;&lt;BR /&gt;# fuser -u /dir/filename&lt;BR /&gt;&lt;BR /&gt;The only sure way to get the space released is to stop the process that is accessing the file, zero out the file the way you did, and then restart the process.</description>
      <pubDate>Tue, 10 Jun 2003 13:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993401#M124927</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-10T13:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: file opened ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993402#M124928</link>
      <description>What do you mean "how a process has opened a file",like what flags (ReadOnly) etc?&lt;BR /&gt;Tusc can show system calls like open(),creat() etc,get it on &lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.5/." target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.5/.&lt;/A&gt;&lt;BR /&gt;Or lsof can show you files opened by proc. :&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Tue, 10 Jun 2003 13:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993402#M124928</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-10T13:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: file opened ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993403#M124929</link>
      <description>You could also use lsof:&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/&lt;/A&gt;&lt;BR /&gt;# lsof /dev/null&lt;BR /&gt;OR&lt;BR /&gt;# lsof filename_here</description>
      <pubDate>Tue, 10 Jun 2003 13:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-opened/m-p/2993403#M124929</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2003-06-10T13:30:16Z</dc:date>
    </item>
  </channel>
</rss>

