<?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 cleanup hp ux 11.23 itanium in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532765#M368451</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;# swa clean {usercache | swcache | all}&lt;BR /&gt;When the swa command runs, it produces cache files for its use. Run swa clean to free up disk&lt;BR /&gt;space after your swa session is complete.&lt;BR /&gt;&lt;BR /&gt;See attached.</description>
    <pubDate>Fri, 13 Nov 2009 06:19:33 GMT</pubDate>
    <dc:creator>Michael Steele_2</dc:creator>
    <dc:date>2009-11-13T06:19:33Z</dc:date>
    <item>
      <title>var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532757#M368443</link>
      <description>i'm looking at cleaning up the /var directory, it's 80% full.. in the /var/adm/sw/save/ directory are what look like Patch directories like \PHSS_38140.. can these directories be removed ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Nov 2009 14:47:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532757#M368443</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2009-11-12T14:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532758#M368444</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If you are fairly new to HP-UX then refer to the 'Routine Tasks' section under SAM and let SAM guide you in this task.</description>
      <pubDate>Thu, 12 Nov 2009 14:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532758#M368444</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-12T14:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532759#M368445</link>
      <description>Hi Donald:&lt;BR /&gt;&lt;BR /&gt;Do _not_ manually diddle (remove, modify, etc.) in the '/var/adm/sw' directory.  If you corrupt the contents of this directory you can render your server un-patchable.&lt;BR /&gt;&lt;BR /&gt;To potentially regain space, use the 'cleanup' command:&lt;BR /&gt;&lt;BR /&gt;# cleanup -c 1&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 12 Nov 2009 14:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532759#M368445</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-11-12T14:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532760#M368446</link>
      <description>Hello Donald.&lt;BR /&gt;Do not delete manually any file in /var/adm/sw you can corrupt your software.&lt;BR /&gt;&lt;BR /&gt;check under /var/tmp to see if you can delete something there.&lt;BR /&gt;&lt;BR /&gt;also check /var/tombstones&lt;BR /&gt;&lt;BR /&gt;Another option should be to search for core file in var.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Nov 2009 16:36:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532760#M368446</guid>
      <dc:creator>Fabian Briseño</dc:creator>
      <dc:date>2009-11-12T16:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532761#M368447</link>
      <description>Hi Donald,&lt;BR /&gt;&lt;BR /&gt;   Dont delete anything in /var/adm/sw/save directory. It is used for rollback. &lt;BR /&gt;  &lt;BR /&gt;  Better look for some old pacct files in /var/adm or you can truncate some of your logs like /var/adm/cron/log, or anything in /var/tmp.</description>
      <pubDate>Thu, 12 Nov 2009 16:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532761#M368447</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-11-12T16:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532762#M368448</link>
      <description>I was trying to free up space on /var because when i ran swa(software ass't), it indicated i didn't have enough free space. Is there some way of running swa and telling it to use some other mount point ?</description>
      <pubDate>Thu, 12 Nov 2009 17:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532762#M368448</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2009-11-12T17:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532763#M368449</link>
      <description>Hi (again) Donald:&lt;BR /&gt;&lt;BR /&gt;In '/root/.swa.conf' (or on the command line) you can set the '-x user_dir' and the '-x swcache' to a directory that offers you the space you need.&lt;BR /&gt;&lt;BR /&gt;See:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-5125/5992-5125.pdf" target="_blank"&gt;http://docs.hp.com/en/5992-5125/5992-5125.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 12 Nov 2009 17:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532763#M368449</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-11-12T17:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532764#M368450</link>
      <description>&amp;gt; I was trying to free up space on /var because when i ran swa(software ass't), it indicated i didn't have enough free space. Is there some way of running swa and telling it to use some other mount point ?&lt;BR /&gt; &lt;BR /&gt;The best thing to do is to create another lvol that will hold the /var/adm/sw directory. Once the lvol is created, mount it to a temporary mountpoint, copy all the files and directories to the new location. As a precaution, backup the /var/ad/sw directory to tape or another location. Then unmount the new lvol, remove all the files and directories in /var/adm/sw and mount the new lvol to /var/adm/sw. The last step is to add the new mountpoint to /etc/fstab.&lt;BR /&gt; &lt;BR /&gt;You should also analyze /var using du to see what other large directories are present. Use this command:&lt;BR /&gt; &lt;BR /&gt;du -sk | sort -rn | head -20&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Nov 2009 04:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532764#M368450</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-11-13T04:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532765#M368451</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;# swa clean {usercache | swcache | all}&lt;BR /&gt;When the swa command runs, it produces cache files for its use. Run swa clean to free up disk&lt;BR /&gt;space after your swa session is complete.&lt;BR /&gt;&lt;BR /&gt;See attached.</description>
      <pubDate>Fri, 13 Nov 2009 06:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532765#M368451</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-13T06:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532766#M368452</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;In answer to your question, use the -x user_dir option.&lt;BR /&gt;&lt;BR /&gt;x user_dir=~/.swa&lt;BR /&gt;Usage: Basic&lt;BR /&gt;Applicable caches: usercache all&lt;BR /&gt;This is the directory where SWA stores catalog, inventory, analysis, ignore, and report files.&lt;BR /&gt;The default location is a subdirectory (.swa) of the user's home directory. This can be changed,&lt;BR /&gt;for example, to allow archival of previous interim artifacts in a date-specific directory or&lt;BR /&gt;off-host. Several other options default to a directory relative to this directory, so changing&lt;BR /&gt;this option allows all of those locations to stay in synch relative to a common root.</description>
      <pubDate>Fri, 13 Nov 2009 06:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532766#M368452</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-13T06:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532767#M368453</link>
      <description>the command du -sk | sort -rn | head -20&lt;BR /&gt;just returns a number ??&lt;BR /&gt;&lt;BR /&gt;# du -sk | sort -rn | head -20&lt;BR /&gt;&lt;BR /&gt;2678160 .&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Nov 2009 12:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532767#M368453</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2009-11-13T12:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532768#M368454</link>
      <description>Hi Donald:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The command du -sk | sort -rn | head -20&lt;BR /&gt;just returns a number ??&lt;BR /&gt;&lt;BR /&gt;Drop the 's' which summarizes and use:&lt;BR /&gt;&lt;BR /&gt;# du -k /var|sort -krn|head -20&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 13 Nov 2009 13:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532768#M368454</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-11-13T13:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532769#M368455</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Some Pionts to clean up /var Spaceâ ¦&lt;BR /&gt;&lt;BR /&gt;1. Release space from /var:&lt;BR /&gt;  - remove core dump:&lt;BR /&gt;  # find /var -name core -exec rm {} \;&lt;BR /&gt;  2. cleanup old patches&lt;BR /&gt; cleanup -c 2 &lt;BR /&gt; 3.  The following file in /var/stm/logs/os (Keep latest.)&lt;BR /&gt;memlog&lt;BR /&gt;logN.taw.cur&lt;BR /&gt;ccbootlog&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Nov 2009 13:27:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532769#M368455</guid>
      <dc:creator>grshankar</dc:creator>
      <dc:date>2009-11-13T13:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532770#M368456</link>
      <description>Sorry about the typo -- the actual du option should be: &lt;BR /&gt; &lt;BR /&gt;du -xk /var | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;(s is just too close to the x key)&lt;BR /&gt; &lt;BR /&gt;Just to explain the use of du and not find for large files: Until you examine every directory in /var, looking for large files will miss a directory with thousands of small files. The du command summarizes directories. Once you find an unusually large directory, look inside to find the contents. You can sort the contents by size:&lt;BR /&gt; &lt;BR /&gt;cd /var/someLargeDirectory&lt;BR /&gt;ll | sort -rnk5 | head -20</description>
      <pubDate>Fri, 13 Nov 2009 13:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532770#M368456</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-11-13T13:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: var cleanup hp ux 11.23 itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532771#M368457</link>
      <description>Nice to know that SWA is covered when we turn away for a bit, thanks guys!&lt;BR /&gt;&lt;BR /&gt;I might also throw out that often the mass of the QPK bundle can be an issue.  If you already have that on media then preload it into your depot and then use:&lt;BR /&gt;&lt;BR /&gt;# swa get -t /depotHere -x allow_existing_depot=true&lt;BR /&gt;&lt;BR /&gt;While I am a big fan of the QPK bundle you could also use just the SEC, PW, and CRIT analyzers.</description>
      <pubDate>Fri, 13 Nov 2009 23:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-cleanup-hp-ux-11-23-itanium/m-p/4532771#M368457</guid>
      <dc:creator>Bob E Campbell</dc:creator>
      <dc:date>2009-11-13T23:06:40Z</dc:date>
    </item>
  </channel>
</rss>

