<?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: Free space not getting updated immediately in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418407#M765899</link>
    <description>Amir,&lt;BR /&gt;&lt;BR /&gt;You mentioned on your reply to use lsof command to get the updated size of a &lt;BR /&gt;file.  We tried using this command using root account but it seems that we dont &lt;BR /&gt;have this command in place on our system.  By the way, we are on 10.20 &lt;BR /&gt;version.  I even check the man page but no entry of this command.  &lt;BR /&gt;&lt;BR /&gt;Please advise how can we have this command installed&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Joey</description>
    <pubDate>Tue, 15 Feb 2000 15:51:20 GMT</pubDate>
    <dc:creator>Joey Sta. cruz_1</dc:creator>
    <dc:date>2000-02-15T15:51:20Z</dc:date>
    <item>
      <title>Free space not getting updated immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418404#M765896</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a hp715 w/s with hpux 10.2. We run an application on this which &lt;BR /&gt;generates a log file of around 800MB within a few days.&lt;BR /&gt;&lt;BR /&gt;We run a cron job to remove this file once in a week.&lt;BR /&gt;&lt;BR /&gt;After removing this file also, the bdf ouput shows 100% used. If the server is &lt;BR /&gt;rebooted it will come down to 49%.&lt;BR /&gt;&lt;BR /&gt;Once we removed this file and left the system for 2 days. But the free space &lt;BR /&gt;was not updated. Only when we rebooted the server it shows 49% used.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can some one help us ???&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Sajith</description>
      <pubDate>Mon, 14 Feb 2000 23:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418404#M765896</guid>
      <dc:creator>Sajith Mannadiar</dc:creator>
      <dc:date>2000-02-14T23:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Free space not getting updated immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418405#M765897</link>
      <description>I suspect you are removing a file that is open at the time of removal, which &lt;BR /&gt;generally causes bdf to continue reporting that the space is in use, whereas &lt;BR /&gt;using df or du should show the space recovered. If this is the case, then you &lt;BR /&gt;could try halting the application first, then doing the removal or truncation, &lt;BR /&gt;and then restarting the application.</description>
      <pubDate>Tue, 15 Feb 2000 00:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418405#M765897</guid>
      <dc:creator>Melvyn Burnard_1</dc:creator>
      <dc:date>2000-02-15T00:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Free space not getting updated immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418406#M765898</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Try and use the command lsof - list open files .&lt;BR /&gt;This will help you to see the open file that was created by the process you &lt;BR /&gt;run.&lt;BR /&gt;&lt;BR /&gt;Then stop this process and the free space will be shown on the file system.&lt;BR /&gt;&lt;BR /&gt;Try and use lsof "File name" or&lt;BR /&gt;             lsof " Device name " .&lt;BR /&gt;(You can read the man page).&lt;BR /&gt;And then you will find the pid of the process that run the open file.</description>
      <pubDate>Tue, 15 Feb 2000 00:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418406#M765898</guid>
      <dc:creator>Amir Fridman_1</dc:creator>
      <dc:date>2000-02-15T00:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Free space not getting updated immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418407#M765899</link>
      <description>Amir,&lt;BR /&gt;&lt;BR /&gt;You mentioned on your reply to use lsof command to get the updated size of a &lt;BR /&gt;file.  We tried using this command using root account but it seems that we dont &lt;BR /&gt;have this command in place on our system.  By the way, we are on 10.20 &lt;BR /&gt;version.  I even check the man page but no entry of this command.  &lt;BR /&gt;&lt;BR /&gt;Please advise how can we have this command installed&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Joey</description>
      <pubDate>Tue, 15 Feb 2000 15:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418407#M765899</guid>
      <dc:creator>Joey Sta. cruz_1</dc:creator>
      <dc:date>2000-02-15T15:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Free space not getting updated immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418408#M765900</link>
      <description>I think that you should try fuser -cu directory name. This will show you the &lt;BR /&gt;open file and the pid that has that file.</description>
      <pubDate>Wed, 16 Feb 2000 08:00:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418408#M765900</guid>
      <dc:creator>Steve White_8</dc:creator>
      <dc:date>2000-02-16T08:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Free space not getting updated immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418409#M765901</link>
      <description>'lsof' is not provided by HP as part of your basic HP-UX OS. Therefore, a 'man' &lt;BR /&gt;page is not avaiable for this tool. 'lsof' is a shareware program that must be &lt;BR /&gt;downloaded on your system &amp;amp; installed by you. However, it sounds like you do &lt;BR /&gt;not need this tool. You already know the name of the process that is creating &lt;BR /&gt;this file. I believe what is happening on your system is:&lt;BR /&gt;&lt;BR /&gt;A pesky variant of a file that is filling a file system is an unlinked file to &lt;BR /&gt;which some process is still writing. When a process opens a file and then &lt;BR /&gt;unlinks it, the file's resources remain in use by the the process, but the &lt;BR /&gt;file's directory entries are removed. Hence, even when you know the directory &lt;BR /&gt;where the file once resided, you can't detect it with 'ls'.&lt;BR /&gt;&lt;BR /&gt;This can be an administrative problem when the unlinked file is large, and the &lt;BR /&gt;process that holds it open continues to write to it. Only when the process &lt;BR /&gt;closes the file will its resources, particularly disk space, be released.&lt;BR /&gt;&lt;BR /&gt;Like the advice given ealier, by Melvin, close the process that is creating &lt;BR /&gt;this file and then remove the file. This should do it - just as if you were &lt;BR /&gt;rebooting your system.&lt;BR /&gt;&lt;BR /&gt;Go to a HP shareware Web site &amp;amp; look up 'lsof' or check out HP's Knowledge tool &lt;BR /&gt;for more information about this program.&lt;BR /&gt;&lt;BR /&gt;Good Luck</description>
      <pubDate>Wed, 16 Feb 2000 09:17:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418409#M765901</guid>
      <dc:creator>Douglas Davis_2</dc:creator>
      <dc:date>2000-02-16T09:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Free space not getting updated immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418410#M765902</link>
      <description>Try bcheckrc.</description>
      <pubDate>Thu, 17 Feb 2000 05:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/free-space-not-getting-updated-immediately/m-p/2418410#M765902</guid>
      <dc:creator>Jim Butler_4</dc:creator>
      <dc:date>2000-02-17T05:50:29Z</dc:date>
    </item>
  </channel>
</rss>

