<?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 var directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512589#M895965</link>
    <description>My var directory has become almost full.  What can I simply remove or relocate to free up space?</description>
    <pubDate>Mon, 02 Apr 2001 20:11:59 GMT</pubDate>
    <dc:creator>John Curtis</dc:creator>
    <dc:date>2001-04-02T20:11:59Z</dc:date>
    <item>
      <title>var directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512589#M895965</link>
      <description>My var directory has become almost full.  What can I simply remove or relocate to free up space?</description>
      <pubDate>Mon, 02 Apr 2001 20:11:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512589#M895965</guid>
      <dc:creator>John Curtis</dc:creator>
      <dc:date>2001-04-02T20:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: var directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512590#M895966</link>
      <description>* Check your /var/adm/crash   directory...  you can remove all in here (unless your interested in analysing any crash information !)&lt;BR /&gt;&lt;BR /&gt;* the command 'cleanup' will remove the files/binaries for old patches, but you should make sure your machine is stable before running this command as you will no longer be able to roll back patches.&lt;BR /&gt;&lt;BR /&gt;* Any core files -  # find /var -name core&lt;BR /&gt;&lt;BR /&gt;* mail for root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps !&lt;BR /&gt;&lt;BR /&gt;Andrew&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Apr 2001 20:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512590#M895966</guid>
      <dc:creator>Andrew_4</dc:creator>
      <dc:date>2001-04-02T20:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: var directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512591#M895967</link>
      <description>check /var/tmp for any large temporary files that could be removed.&lt;BR /&gt;You could also trim some of the log files with SAM.  /var/adm has some log files.</description>
      <pubDate>Mon, 02 Apr 2001 20:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512591#M895967</guid>
      <dc:creator>Eileen Millen</dc:creator>
      <dc:date>2001-04-02T20:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: var directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512592#M895968</link>
      <description>Also, in var/adm there is the wtmp file that can be trunicated.&lt;BR /&gt;&amp;gt; wtmp&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Apr 2001 20:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512592#M895968</guid>
      <dc:creator>Mark Mitchell</dc:creator>
      <dc:date>2001-04-02T20:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: var directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512593#M895969</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;First thing you should do is to identify which directory (or directories) under /var are taking up the space. &lt;BR /&gt;&lt;BR /&gt;Just do,&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;du -s *&lt;BR /&gt;&lt;BR /&gt;repeat the above steps you'll see all how these disk space were being used up, then decide what to do with it.&lt;BR /&gt;&lt;BR /&gt;Right out of my mind, check /var/adm/sw/save (du -s /var/adm/sw/save).  This dir usually took up a lots of disk space if your system has uncommited patches.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Philip</description>
      <pubDate>Tue, 03 Apr 2001 00:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512593#M895969</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2001-04-03T00:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: var directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512594#M895970</link>
      <description>To second the searching for big directories (not files), here is a shortcut:&lt;BR /&gt;&lt;BR /&gt;du -kx /var | sort -rn &amp;gt; /tmp/du.var&lt;BR /&gt;&lt;BR /&gt;Now look at the /tmp/du.var file to see what directories are at the top of the list.  Then look inside to see what is occupying so much space.&lt;BR /&gt;&lt;BR /&gt;Resist the temptation to just remove big files. If they are log files, look at the contents to see if anything important is there, then zero the file length rather than removing the file.  Other locations with big directories:&lt;BR /&gt;&lt;BR /&gt;/var/spool &lt;BR /&gt;/var/adm&lt;BR /&gt;/var/adm/sw&lt;BR /&gt;/var/adm/crash&lt;BR /&gt;/var/mail&lt;BR /&gt;&lt;BR /&gt;Use this command to sort files into size order:&lt;BR /&gt;&lt;BR /&gt;ls -l | sort -nrk 5 | more&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2001 02:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512594#M895970</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-04-03T02:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: var directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512595#M895971</link>
      <description>My procedure:&lt;BR /&gt;&lt;BR /&gt;find /var -xdev -type f -mtime -10 -size +1000000c &lt;BR /&gt;&lt;BR /&gt;## Find in /var filesystem files  modified last 10 days and greater than 1M.&lt;BR /&gt;&lt;BR /&gt;Also list :&lt;BR /&gt;&lt;BR /&gt;/var/preserve&lt;BR /&gt;/var/adm/crash&lt;BR /&gt;/var/tmp&lt;BR /&gt;/var/adm/syslog&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2001 06:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512595#M895971</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-04-03T06:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: var directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512596#M895972</link>
      <description>Check in /var/adm/crash.</description>
      <pubDate>Tue, 03 Apr 2001 07:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory/m-p/2512596#M895972</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-03T07:58:14Z</dc:date>
    </item>
  </channel>
</rss>

