<?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 with 97% in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424994#M930</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;We have some log files in /var and we can trim it to 0 with the help of &amp;gt;&lt;BR /&gt;&lt;BR /&gt;try to trim the log files&lt;BR /&gt;&lt;BR /&gt;&amp;gt;/var/adm/wtmp&lt;BR /&gt;&amp;gt;/var/adm/syslog/syslog.log&lt;BR /&gt;&amp;gt;/var/adm/sulog&lt;BR /&gt;&amp;gt;/var/adm/btmp&lt;BR /&gt;&amp;gt;/var/tmp(delete complte dir)&lt;BR /&gt;&lt;BR /&gt;also try to find out which files is taking max size anmd we can check it with.&lt;BR /&gt;&lt;BR /&gt;du -sk /var |sort -n -r |more&lt;BR /&gt;&lt;BR /&gt;with the above mentioned command you can fidn out who is occupying max.&lt;BR /&gt;&lt;BR /&gt;also see if &amp;gt;/var/adm/crash&lt;BR /&gt;&lt;BR /&gt;hope this will give you space upto 30 %&lt;BR /&gt;&lt;BR /&gt;try this&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;NIkhil&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Jun 2000 10:17:41 GMT</pubDate>
    <dc:creator>Nikhil Chaudhari</dc:creator>
    <dc:date>2000-06-06T10:17:41Z</dc:date>
    <item>
      <title>/var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424987#M923</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm facing some problems with /var directory. it's 97% and I have trimmed all log files under /var/adm/syslog directory but still 97%.&lt;BR /&gt;&lt;BR /&gt;what have I to do to decrease it?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;a cossa</description>
      <pubDate>Tue, 06 Jun 2000 06:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424987#M923</guid>
      <dc:creator>augusto cossa</dc:creator>
      <dc:date>2000-06-06T06:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424988#M924</link>
      <description>There is no general cookbook how to reduce the contens of /var&lt;BR /&gt;check if you have dumps under /var/adm/crash  if they are old, get ride of them. if they are new, move them away and call your local responce center.&lt;BR /&gt;Any file called 'core' under /var?  (find /var -name core) &lt;BR /&gt;Are there any huge log files from STM? (/var/stm/logs/os) if the are old, delete them but keep the one with the ending .cur&lt;BR /&gt;If they are all new, call your Hardware support</description>
      <pubDate>Tue, 06 Jun 2000 06:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424988#M924</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-06-06T06:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424989#M925</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Some other filesystems you would like to check:&lt;BR /&gt;1) /var/mail&lt;BR /&gt;2) /var/spool/lp/request&lt;BR /&gt;3) /var/adm/cron/&lt;BR /&gt;&lt;BR /&gt;Combine the "find" command with the -mtime command to check for latest added files or -size option for searching files in /var greater than a specific size. A cruder and less effective method would be to use ls -laRt to sort the files by most recently added first.&lt;BR /&gt;&lt;BR /&gt;If possible, for dynamic directories residing in /var, split them away from /var as separate filesystems eg. /var/spool/lp/request.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim.</description>
      <pubDate>Tue, 06 Jun 2000 07:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424989#M925</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2000-06-06T07:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424990#M926</link>
      <description>Or you can sort all files in /var by size...&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;du | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;and decide if you need the big ones...</description>
      <pubDate>Tue, 06 Jun 2000 07:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424990#M926</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-06-06T07:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424991#M927</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you are running HP-UX 10.20 you can reduce&lt;BR /&gt;the patch database (superseded patches) by using the command:&lt;BR /&gt;cleanup&lt;BR /&gt;If you not have the command install patch&lt;BR /&gt;PHCO_12140&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Tue, 06 Jun 2000 07:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424991#M927</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-06-06T07:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424992#M928</link>
      <description>You can trim to zero most of your log files using this command :&lt;BR /&gt;# /dev/null &amp;gt; /var/adm/wmtp.&lt;BR /&gt;Check your /var/preserve file to delete the EX*** files.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2000 07:25:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424992#M928</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-06-06T07:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424993#M929</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;You should try and modify the software product, and clear the old ones.&lt;BR /&gt;use the command :&lt;BR /&gt;swmodify -x patch_commit=true PH*.*</description>
      <pubDate>Tue, 06 Jun 2000 07:28:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424993#M929</guid>
      <dc:creator>Amir Fridman</dc:creator>
      <dc:date>2000-06-06T07:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424994#M930</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;We have some log files in /var and we can trim it to 0 with the help of &amp;gt;&lt;BR /&gt;&lt;BR /&gt;try to trim the log files&lt;BR /&gt;&lt;BR /&gt;&amp;gt;/var/adm/wtmp&lt;BR /&gt;&amp;gt;/var/adm/syslog/syslog.log&lt;BR /&gt;&amp;gt;/var/adm/sulog&lt;BR /&gt;&amp;gt;/var/adm/btmp&lt;BR /&gt;&amp;gt;/var/tmp(delete complte dir)&lt;BR /&gt;&lt;BR /&gt;also try to find out which files is taking max size anmd we can check it with.&lt;BR /&gt;&lt;BR /&gt;du -sk /var |sort -n -r |more&lt;BR /&gt;&lt;BR /&gt;with the above mentioned command you can fidn out who is occupying max.&lt;BR /&gt;&lt;BR /&gt;also see if &amp;gt;/var/adm/crash&lt;BR /&gt;&lt;BR /&gt;hope this will give you space upto 30 %&lt;BR /&gt;&lt;BR /&gt;try this&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;NIkhil&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2000 10:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424994#M930</guid>
      <dc:creator>Nikhil Chaudhari</dc:creator>
      <dc:date>2000-06-06T10:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424995#M931</link>
      <description>move /var/adm/sw to a mount point.&lt;BR /&gt;&lt;BR /&gt;mv sw sw1.&lt;BR /&gt;&lt;BR /&gt;mkdir sw&lt;BR /&gt;lvcreate /var/adm/sw&lt;BR /&gt;then mv sw1 back to sw.&lt;BR /&gt;&lt;BR /&gt; check /var/tmp for a large files&lt;BR /&gt;&lt;BR /&gt;if you what to make /var bigger use ignite to redo the it.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2000 21:53:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424995#M931</guid>
      <dc:creator>frank beall_1</dc:creator>
      <dc:date>2000-06-06T21:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424996#M932</link>
      <description>It was a good suggestion to move /var/adm/sw to another mount point. Another option is if you have any disk space available. Check with "vgdisplay -v vg00", look at PE (physical extents)each PE is 4mb. If any space is available you could vgextend /var. to do this you would have to let the system reboot and bring it up in single user mode. Do a "mount -a", check what lvol is assigned to /var, unmount /var.  vgextend /var's lvol,&lt;BR /&gt;extendfs completes it, then reboot.</description>
      <pubDate>Wed, 07 Jun 2000 18:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424996#M932</guid>
      <dc:creator>Eddie Warren</dc:creator>
      <dc:date>2000-06-07T18:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424997#M933</link>
      <description>Have you checked /usr/tmp?  In versions after 9.04, /usr/tmp is actually a link to /var/tmp.&lt;BR /&gt;&lt;BR /&gt;Also user's mailboxes are now in /var/mail.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2000 11:20:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424997#M933</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2000-06-08T11:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424998#M934</link>
      <description>In my environment, I'm running PERF and am willing to delete the perf files if needed. The perf files are in /var/opt/perf/datafiles.  I use this script to clean them up.  It zaps history, but keeps me running at the present.&lt;BR /&gt;&lt;BR /&gt;cd      /var/opt/perf/datafiles        &lt;BR /&gt;files=log*                             &lt;BR /&gt;for     i in $files                    &lt;BR /&gt;do      ls -la $i                      &lt;BR /&gt;done                                   &lt;BR /&gt;if      [ $n "$1" ]                    &lt;BR /&gt;then    for     i in $files            &lt;BR /&gt;        do      echo "cleaning up " $i;&lt;BR /&gt;                cat /dev/null &amp;gt; $i     &lt;BR /&gt;                ls -la $i              &lt;BR /&gt;        done                           &lt;BR /&gt;fi                                     &lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2000 16:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424998#M934</guid>
      <dc:creator>Michael Marburger</dc:creator>
      <dc:date>2000-06-08T16:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424999#M935</link>
      <description>Well, you already have a lots of things to do ;-)&lt;BR /&gt;&lt;BR /&gt;After checking log files, mailboxes and mailqueues (is your mail server dead?), printer queues (is a printer dead with a huge print job in the queue? I've seen once a 8 GIGABYTES job!), system core dumps...&lt;BR /&gt;&lt;BR /&gt;The culprit could be just the patches! They are under /var/adm/sw, as other products, but here you'll get a patch subdirectory (or save in 11.x) that contains, for each installed patch, the old version of the files. If installed a couple of patch bundles, this could grow just huge. (check with du -sk /var/adm/sw/patch)&lt;BR /&gt;&lt;BR /&gt;In version 10, use the cleanup command (no parameters) to remove all unnecessary files (those related to superseeded patches).&lt;BR /&gt;&lt;BR /&gt;In version 11, you'll have to use the -x patch-commit=true option of swmodify (not completely sure - I donnot have 11 by hand).&lt;BR /&gt;&lt;BR /&gt;Last hint: cleanup your SD-UX logs (/var/adm/sw/*.log) too...&lt;BR /&gt;&lt;BR /&gt;Have fun! Emmanuel</description>
      <pubDate>Fri, 09 Jun 2000 08:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2424999#M935</guid>
      <dc:creator>Emmanuel Eyer</dc:creator>
      <dc:date>2000-06-09T08:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2425000#M936</link>
      <description>Hi!&lt;BR /&gt;Many times, it is some huge log file which swallows the entire filesystem. Try this command to take a list of all files which are more than 1 mb in size and delete the unwanted files.&lt;BR /&gt;&lt;BR /&gt;# find /var -size +1000000c -print -exec ls -al {} ;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;S.Karunanidhi&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2000 17:16:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2425000#M936</guid>
      <dc:creator>skarunanidhi</dc:creator>
      <dc:date>2000-06-09T17:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: /var with 97%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2425001#M937</link>
      <description>The biggest culprit in /var is usually /var/adm/sw/save.  Anytime you add a patch, swinstall saves the old version of replaced files here.  If you have no reason to believe you'll un-install as patch (if its like 1+ years old), you can safely delete that patches subdirectory here.&lt;BR /&gt;&lt;BR /&gt;Such as (as root): &lt;BR /&gt;&lt;BR /&gt;find /var/adm/sw/save -atime +365 -type d -exec /bin/rm -r {} ;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2000 17:57:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-with-97/m-p/2425001#M937</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-06-09T17:57:23Z</dc:date>
    </item>
  </channel>
</rss>

