<?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: /var usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702906#M249573</link>
    <description>Thanks Jov,&lt;BR /&gt;&lt;BR /&gt;This is what I get from the command that you've given me. The sum is far less than what the df command is giving me... where is the rest of the space being used??&lt;BR /&gt;&lt;BR /&gt;# du -sk /var/* | sort -rn | more&lt;BR /&gt;44      /var/spool&lt;BR /&gt;36      /var/dmi&lt;BR /&gt;22      /var/locale&lt;BR /&gt;14      /var/adm&lt;BR /&gt;10      /var/uucp&lt;BR /&gt;3       /var/preserve&lt;BR /&gt;2       /var/smtp-poplock&lt;BR /&gt;2       /var/lp&lt;BR /&gt;2       /var/log&lt;BR /&gt;2       /var/crash&lt;BR /&gt;1       /var/tmp&lt;BR /&gt;1       /var/ntp&lt;BR /&gt;1       /var/nis&lt;BR /&gt;1       /var/mail&lt;BR /&gt;1       /var/cron</description>
    <pubDate>Wed, 04 Jan 2006 21:37:10 GMT</pubDate>
    <dc:creator>sgtmura</dc:creator>
    <dc:date>2006-01-04T21:37:10Z</dc:date>
    <item>
      <title>/var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702903#M249570</link>
      <description>Hi,&lt;BR /&gt;I'm trying to find out what is filling up /var on my server.&lt;BR /&gt;du and df commands gives me contrasting information... and I cannot find what it is that is filling up the filesystem...&lt;BR /&gt;&lt;BR /&gt;# du -sk /var&lt;BR /&gt;148 /var&lt;BR /&gt;# df -k /var&lt;BR /&gt;Filesystem kbytes used avail capacity Mounted on&lt;BR /&gt;/dev/dsk/c0d0s5 498271 445570 2874 100% /var&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help,&lt;BR /&gt;Rm</description>
      <pubDate>Wed, 04 Jan 2006 21:28:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702903#M249570</guid>
      <dc:creator>sgtmura</dc:creator>
      <dc:date>2006-01-04T21:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: /var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702904#M249571</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I use a iterative process to track which file/directory are using up the space.&lt;BR /&gt;&lt;BR /&gt;# du -sk /var/* | sort -rn | more&lt;BR /&gt;&lt;BR /&gt;This will list the directory/file with the highest usage.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;jov</description>
      <pubDate>Wed, 04 Jan 2006 21:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702904#M249571</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2006-01-04T21:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: /var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702905#M249572</link>
      <description>following will list the dirs as per their space uasge in acesnding order.&lt;BR /&gt;&lt;BR /&gt;du -kx /var | sort -n&lt;BR /&gt;&lt;BR /&gt;Then check individual dirs to know more.</description>
      <pubDate>Wed, 04 Jan 2006 21:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702905#M249572</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-01-04T21:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: /var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702906#M249573</link>
      <description>Thanks Jov,&lt;BR /&gt;&lt;BR /&gt;This is what I get from the command that you've given me. The sum is far less than what the df command is giving me... where is the rest of the space being used??&lt;BR /&gt;&lt;BR /&gt;# du -sk /var/* | sort -rn | more&lt;BR /&gt;44      /var/spool&lt;BR /&gt;36      /var/dmi&lt;BR /&gt;22      /var/locale&lt;BR /&gt;14      /var/adm&lt;BR /&gt;10      /var/uucp&lt;BR /&gt;3       /var/preserve&lt;BR /&gt;2       /var/smtp-poplock&lt;BR /&gt;2       /var/lp&lt;BR /&gt;2       /var/log&lt;BR /&gt;2       /var/crash&lt;BR /&gt;1       /var/tmp&lt;BR /&gt;1       /var/ntp&lt;BR /&gt;1       /var/nis&lt;BR /&gt;1       /var/mail&lt;BR /&gt;1       /var/cron</description>
      <pubDate>Wed, 04 Jan 2006 21:37:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702906#M249573</guid>
      <dc:creator>sgtmura</dc:creator>
      <dc:date>2006-01-04T21:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: /var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702907#M249574</link>
      <description>Is /var still at 100%?? du did not show any of dirs with problem.&lt;BR /&gt;&lt;BR /&gt;did you delete any file from var?? Looks like there was a file that was deleted, when process was still accessing it. In that case space  will not be released till that process is stopped.</description>
      <pubDate>Wed, 04 Jan 2006 21:42:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702907#M249574</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-01-04T21:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: /var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702908#M249575</link>
      <description>Yes it's still at 100%. Is there a way to pin-point the process that is hanging on to the file?</description>
      <pubDate>Wed, 04 Jan 2006 21:45:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702908#M249575</guid>
      <dc:creator>sgtmura</dc:creator>
      <dc:date>2006-01-04T21:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: /var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702909#M249576</link>
      <description>Rm, &lt;BR /&gt;You missed something. I asked you you to&lt;BR /&gt;do du -kx /var|sort -nr&lt;BR /&gt;&lt;BR /&gt;and not&lt;BR /&gt;du -sk&lt;BR /&gt;&lt;BR /&gt;do du -kx /var | sort -rn and check dir that are occupying most of the space.</description>
      <pubDate>Wed, 04 Jan 2006 21:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702909#M249576</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-01-04T21:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: /var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702910#M249577</link>
      <description>You can run fuser or better still lsof to identify processes that are using files in /var. You have unlinked these files but until the files actually close or the process terminates, the space is not returned to the filesystem. Man 2 unlink for details.</description>
      <pubDate>Wed, 04 Jan 2006 21:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702910#M249577</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-01-04T21:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: /var usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702911#M249578</link>
      <description>Clay,&lt;BR /&gt;Found the culprit and restarted it. Which did the trick! Thank you very much!&lt;BR /&gt;And thanks to everyone else for giving me advise.&lt;BR /&gt;Regards,&lt;BR /&gt;Rm</description>
      <pubDate>Wed, 04 Jan 2006 22:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-usage/m-p/3702911#M249578</guid>
      <dc:creator>sgtmura</dc:creator>
      <dc:date>2006-01-04T22:15:18Z</dc:date>
    </item>
  </channel>
</rss>

