<?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 full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327262#M341453</link>
    <description>There is a manpage for cleanup.</description>
    <pubDate>Mon, 22 Dec 2008 11:34:35 GMT</pubDate>
    <dc:creator>Joachim Noffke</dc:creator>
    <dc:date>2008-12-22T11:34:35Z</dc:date>
    <item>
      <title>/var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327255#M341446</link>
      <description>Hi all,&lt;BR /&gt; &lt;BR /&gt; I have /var full, what are all the files we can trim in /var directory. Here I am providing the du -sk|sort -rn output.&lt;BR /&gt;&lt;BR /&gt;3251712 /var/adm&lt;BR /&gt;547472  /var/mqm&lt;BR /&gt;158584  /var/opt&lt;BR /&gt;80032   /var/stm&lt;BR /&gt;22392   /var/preserve&lt;BR /&gt;10144   /var/tombstones&lt;BR /&gt;6760    /var/mail&lt;BR /&gt;6656    /var/dmi&lt;BR /&gt;2936    /var/mfaslmf&lt;BR /&gt;848     /var/sam&lt;BR /&gt;648     /var/spool&lt;BR /&gt;624     /var/vx&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2003064 /var/adm/sw&lt;BR /&gt;669256  /var/adm/syslog&lt;BR /&gt;557448  /var/adm/crash&lt;BR /&gt;11304   /var/adm/sa&lt;BR /&gt;6512    /var/adm/perfmgr&lt;BR /&gt;3320    /var/adm/cron&lt;BR /&gt;344     /var/adm/wtmp&lt;BR /&gt;200     /var/adm/btmp&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 10:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327255#M341446</guid>
      <dc:creator>Jayraj</dc:creator>
      <dc:date>2008-12-22T10:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327256#M341447</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1.You can trim /var/adm/wtmp and /var/adm/btmp&lt;BR /&gt;2.Check how many syslog.log is there under /var/adm/syslog if any old then you can delete&lt;BR /&gt;3.Is you /var/adm/crash is under /var filesystem if yes check old files or take backup of old files and remove from /var/adm/crash.&lt;BR /&gt;4.Check old files /var/spool/adm if you are not using printer then you can delete spool files.&lt;BR /&gt;&lt;BR /&gt;Apart from this check any open file is there or not with &lt;BR /&gt;lsof command&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Mon, 22 Dec 2008 10:26:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327256#M341447</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-12-22T10:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327257#M341448</link>
      <description>Hi Swaraj,&lt;BR /&gt;&lt;BR /&gt;It looks you have not committed the patches.&lt;BR /&gt;Run the below command to commit the patches which has 1 level superseded.&lt;BR /&gt;&lt;BR /&gt;#cleanup -c 1&lt;BR /&gt;&lt;BR /&gt;You can remove the old crash directory under /var/adm/crash.&lt;BR /&gt;&lt;BR /&gt;#cd /var/adm/crash&lt;BR /&gt;#rm -r crash.X&lt;BR /&gt;&lt;BR /&gt;Look into /var/adm/syslog. Delete or trim mail log file old syslog files. &lt;BR /&gt;&lt;BR /&gt;# &amp;gt; mail.log&lt;BR /&gt;# &amp;gt; OLDsyslog.log</description>
      <pubDate>Mon, 22 Dec 2008 10:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327257#M341448</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-22T10:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327258#M341449</link>
      <description>Since /var/adm/sw is by far the largest directory, it will probably make sense to clean up old patches using the "cleanup" command:&lt;BR /&gt;&lt;BR /&gt;# cleanup -c 2&lt;BR /&gt;&lt;BR /&gt;This will throw away all old backup copies of patches which have been superseded at least two times. The respective files in /var/adm/sw/save will be deleted. (Important: don't do this manually! Use the above command.)&lt;BR /&gt;&lt;BR /&gt;If there is still not enough free space afterwards, you can try "cleanup -c 1" which will leave only the backup copies of one generation of superseded patches on your disk. This means that, if you ever need to remove a bad patch, you still can go back one step in history, which should be enough.&lt;BR /&gt;&lt;BR /&gt;The cleanup command has a '-p' option which allows you to check beforehand how much disk space can be freed (but doesn't do anything yet).&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Mon, 22 Dec 2008 11:12:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327258#M341449</guid>
      <dc:creator>Joachim Noffke</dc:creator>
      <dc:date>2008-12-22T11:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327259#M341450</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;sam has a handy little tool called trim logs under routine tasks that can quickly clean this up.&lt;BR /&gt;&lt;BR /&gt;What I see is a lot of logs that have never been trimmed, mostly shown in the second paragraph of output.&lt;BR /&gt;&lt;BR /&gt;I'd either use sam or write a script that copies these logs off and clears them once a week.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 22 Dec 2008 11:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327259#M341450</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-12-22T11:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327260#M341451</link>
      <description>Hi Swaraj,&lt;BR /&gt;&lt;BR /&gt;   First we have to check whether there is any crash dumps is avialble or not,if it's there remove it and take the backup of below mentioned files  ,if it isd not reqired.&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/syslog.log&lt;BR /&gt;/var/adm/syslog/OLDsyslog.log&lt;BR /&gt;/var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt;then check any core file is there or not,use below mentioned command&lt;BR /&gt;&lt;BR /&gt;# find /var -type f -name core&lt;BR /&gt;&lt;BR /&gt;and search big file in our server.&lt;BR /&gt;&lt;BR /&gt;#find /var -size+10000 -print &lt;BR /&gt;&lt;BR /&gt; (Morethan 10 mB files)&lt;BR /&gt;&lt;BR /&gt;afetr thatc heck any other old packages in our system.&lt;BR /&gt;&lt;BR /&gt;use bwlo mentioned command.&lt;BR /&gt;&lt;BR /&gt;#cleanup -c 1&lt;BR /&gt;&lt;BR /&gt;I hope the above mentioned steps is useful for ur requirements.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Unixguy.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:18:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327260#M341451</guid>
      <dc:creator>unixguy_1</dc:creator>
      <dc:date>2008-12-22T11:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327261#M341452</link>
      <description>Thank u ganesan..&lt;BR /&gt;now I have space , however I am not sure wt is cleanup -c..where can I get the more information on this command..</description>
      <pubDate>Mon, 22 Dec 2008 11:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327261#M341452</guid>
      <dc:creator>Jayraj</dc:creator>
      <dc:date>2008-12-22T11:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327262#M341453</link>
      <description>There is a manpage for cleanup.</description>
      <pubDate>Mon, 22 Dec 2008 11:34:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327262#M341453</guid>
      <dc:creator>Joachim Noffke</dc:creator>
      <dc:date>2008-12-22T11:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327263#M341454</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;click the below link for cleanup&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.manpagez.com/man/8/cleanup/" target="_blank"&gt;http://www.manpagez.com/man/8/cleanup/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;suraj</description>
      <pubDate>Mon, 22 Dec 2008 12:14:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327263#M341454</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-12-22T12:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327264#M341455</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;cleanup -c 1 &lt;BR /&gt;&lt;BR /&gt;I use it to clean up the patches that have been superseded once.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 22 Dec 2008 12:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327264#M341455</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-12-22T12:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327265#M341456</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Sorry for the previous post&lt;BR /&gt;this is the link where you will find about cleanup&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/cleanup.1M.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/cleanup.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;suraj</description>
      <pubDate>Mon, 22 Dec 2008 12:27:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4327265#M341456</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-12-22T12:27:01Z</dc:date>
    </item>
  </channel>
</rss>

