<?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: HouseKeeping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529589#M868612</link>
    <description>Hello Olebile,&lt;BR /&gt;&lt;BR /&gt;try to "commit" your patches, if you have not done that&lt;BR /&gt;already. That will free a lot disk space in "/var".&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
    <pubDate>Sat, 19 May 2001 12:49:06 GMT</pubDate>
    <dc:creator>Wodisch</dc:creator>
    <dc:date>2001-05-19T12:49:06Z</dc:date>
    <item>
      <title>HouseKeeping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529584#M868607</link>
      <description>I need to clean up my /VAR filesystem, besides the mail &amp;amp; sulogs directories what do I look at. What are tombstones???&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2001 07:14:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529584#M868607</guid>
      <dc:creator>Olebile Molefi</dc:creator>
      <dc:date>2001-05-17T07:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: HouseKeeping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529585#M868608</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;my advise &lt;BR /&gt;1.   try to find core file in the /var &lt;BR /&gt;&lt;BR /&gt;2. try to find logfiles that you can delete &lt;BR /&gt;&lt;BR /&gt;3. use the command cleanup to clean all your &lt;BR /&gt;   old patches . &lt;BR /&gt;&lt;BR /&gt;4. try to see if you can remove products that you are not working with swremove . &lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2001 07:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529585#M868608</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2001-05-17T07:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: HouseKeeping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529586#M868609</link>
      <description>#find /var -size +xxx&lt;BR /&gt;tombstones is the directory of logs of STM see&lt;BR /&gt; &lt;A href="http://docs.hp.com/hpux/onlinedocs/diag/stm/stm_faq.htm" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/diag/stm/stm_faq.htm&lt;/A&gt;</description>
      <pubDate>Thu, 17 May 2001 08:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529586#M868609</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-17T08:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: HouseKeeping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529587#M868610</link>
      <description>Don't forget /var/tmp also. Keeping /var/mail/root gives a good indication of what is going on in your system. Do re-consider removing this. The important comand to use is actually find.&lt;BR /&gt;&lt;BR /&gt;Try running a script with the find command. The example below gives a good indication.&lt;BR /&gt;&lt;BR /&gt;#find / -name core -exec rm {} \;&lt;BR /&gt;#find /xx/xx/ -name xxxx -atime +7 rm {} \;&lt;BR /&gt;&lt;BR /&gt;Including -atime allow you to delete files xxx days old.&lt;BR /&gt;&lt;BR /&gt;Trust me you will realise that the find command is very useful.&lt;BR /&gt;&lt;BR /&gt;As for the tombstone question, I guess Vincenzo has answer you.</description>
      <pubDate>Fri, 18 May 2001 23:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529587#M868610</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2001-05-18T23:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: HouseKeeping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529588#M868611</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;because you are running diagnostics, each system boot (via 'pdcinfo') creates tombstone files. These files contain the contents of the PIM area (non-volatile RAM).  The tombstone files provide diagnostic information if the system encounters a hardware failure.&lt;BR /&gt;&lt;BR /&gt;The numbering of these files goes in reverse order. So everytime the system reboots a ts99 file is created and moves the old ts99 to ts98 and so on. If you have a lot of these old files and you haven't encountered any hw issues you can easily delet a lot of these files. I would probably keep ts97,ts98 and ts99 in your case.&lt;BR /&gt;&lt;BR /&gt;Steffi Jones&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 19 May 2001 00:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529588#M868611</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2001-05-19T00:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: HouseKeeping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529589#M868612</link>
      <description>Hello Olebile,&lt;BR /&gt;&lt;BR /&gt;try to "commit" your patches, if you have not done that&lt;BR /&gt;already. That will free a lot disk space in "/var".&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
      <pubDate>Sat, 19 May 2001 12:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529589#M868612</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-05-19T12:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: HouseKeeping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529590#M868613</link>
      <description>First, I'd say make a list of all the stuff going on in /var.&lt;BR /&gt;1.  System accounting and related logs&lt;BR /&gt;2.  Crash storage&lt;BR /&gt;3.  swinstalled patch saves&lt;BR /&gt;4.  application temporary files&lt;BR /&gt;5.  system logs&lt;BR /&gt;6.  mail and print queues&lt;BR /&gt;7.  cron and at jobs and cron logs&lt;BR /&gt;8.  miscelaneous admin files&lt;BR /&gt;    I.E.  /var/adm/inetd.sec, /var/adm/sw/defaults&lt;BR /&gt;&lt;BR /&gt;Next, lets take a common sense approach to see how we can clean each...&lt;BR /&gt;&lt;BR /&gt;1.  /usr/sbin/acct/runacct&lt;BR /&gt;   NOTE:  this will create new data under /var/adm/acct/sum which can be removed without impacting the system.&lt;BR /&gt;2.  crash and core files can simply be removed&lt;BR /&gt;3.  requires /usr/sbin/claenup, patch commit's with swmodify, and log trimming&lt;BR /&gt;4.  application temp's in /var/tmp can simply be removed&lt;BR /&gt;5.  cleaned and rotated at boot time, or with /sbin/init.d/syslog stop/start&lt;BR /&gt;6.  mail files can be removed if not needed, and print queue cleanup can be done with cancel, and lpstat t- view...&lt;BR /&gt;7 and 8 should not be removed...&lt;BR /&gt;&lt;BR /&gt;I'd recommend you make a script that takes care of the items above.  You may want to add /tmp to the list of stuff to cleanup, as this is another application temporary directory, and gets lots of junk.  NOTE:  always check b4 removing ACTIVE data from any temp directory to ensure that it does not HOSE applications!&lt;BR /&gt;&lt;BR /&gt;I also recommend that your cleanup scripts LOG whatever they do.  This will protect the sysadmin from users saying "U trashed my files" and such nonsense, as well as ensure U that the job has been completed properly!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Sat, 19 May 2001 14:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/housekeeping/m-p/2529590#M868613</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-05-19T14:03:15Z</dc:date>
    </item>
  </channel>
</rss>

