<?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: how to clear VAR folder in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680404#M245255</link>
    <description>If you have a similar machine with same level patches then you can remove /var/adm/sw/save/ PHCO_* details too.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
    <pubDate>Tue, 29 Nov 2005 01:45:12 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2005-11-29T01:45:12Z</dc:date>
    <item>
      <title>how to clear VAR folder</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680399#M245250</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;the folder /var is full, i don't know what 's file . I can remove it, please help me!&lt;BR /&gt;&lt;BR /&gt;Many thanks.</description>
      <pubDate>Mon, 28 Nov 2005 23:19:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680399#M245250</guid>
      <dc:creator>Vu_9</dc:creator>
      <dc:date>2005-11-28T23:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to clear VAR folder</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680400#M245251</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can try several ways to do housekeeping on /var file system :&lt;BR /&gt;&lt;BR /&gt;1. Cleanup the crash directory at /var/adm/crash. When the system having a problem (panic or rebooting by itself), the system usually create a crash dump information on this directory. You can cleanup the un-necessary info at this directory (check the timestamp).&lt;BR /&gt;&lt;BR /&gt;2. Using 'cleanup' command for patch cleanup utility, check the man page for more detail :&lt;BR /&gt;&lt;BR /&gt;# man cleanup&lt;BR /&gt;&lt;BR /&gt;Example :&lt;BR /&gt;&lt;BR /&gt;Preview:&lt;BR /&gt;#cleanup -p -c 2 &lt;BR /&gt;&lt;BR /&gt;Clean:&lt;BR /&gt;#cleanup -c 2 &lt;BR /&gt;&lt;BR /&gt;3. Using SAM to trim-out the log files :&lt;BR /&gt;&lt;BR /&gt;SAM -&amp;gt; Routine Tasks -&amp;gt; System Log Files -&amp;gt; [Select a log file] -&amp;gt; Actions -&amp;gt; Trim &lt;BR /&gt;&lt;BR /&gt;Check the thread below for your reference :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=977812" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=977812&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Nov 2005 23:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680400#M245251</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-11-28T23:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to clear VAR folder</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680401#M245252</link>
      <description>Be careful about what you remove.&lt;BR /&gt;du -kx /var | sort -n&lt;BR /&gt;&lt;BR /&gt;will give ascending list by usage.</description>
      <pubDate>Mon, 28 Nov 2005 23:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680401#M245252</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-11-28T23:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to clear VAR folder</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680402#M245253</link>
      <description>Use:&lt;BR /&gt;&lt;BR /&gt; find /var -type f -exec ls -l {} \; |sort +5 -nb&lt;BR /&gt;&lt;BR /&gt;To find the largest files. It may be unreaded mail in /var/spool/mail also.</description>
      <pubDate>Tue, 29 Nov 2005 01:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680402#M245253</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-11-29T01:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to clear VAR folder</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680403#M245254</link>
      <description>/var directory will contain log files, installed softwares.&lt;BR /&gt;&lt;BR /&gt;You can get most directory using files as,&lt;BR /&gt;&lt;BR /&gt;# du -k /var | sort -rnk1&lt;BR /&gt;&lt;BR /&gt;You can delete all OLD* logs firstly as,&lt;BR /&gt;&lt;BR /&gt;# find /var -name "OLD*" | xargs rm -f &lt;BR /&gt;&lt;BR /&gt;You can found installed superseeded patches to be cleanup as,&lt;BR /&gt;&lt;BR /&gt;# cleanup -p -c 2&lt;BR /&gt;# cleanup -c 2&lt;BR /&gt;&lt;BR /&gt;to clean it up.&lt;BR /&gt;&lt;BR /&gt;You can trim log files of all daemons as well.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Nov 2005 01:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680403#M245254</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-11-29T01:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to clear VAR folder</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680404#M245255</link>
      <description>If you have a similar machine with same level patches then you can remove /var/adm/sw/save/ PHCO_* details too.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Tue, 29 Nov 2005 01:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-clear-var-folder/m-p/3680404#M245255</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-11-29T01:45:12Z</dc:date>
    </item>
  </channel>
</rss>

