<?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: scripts available to clean up /tmp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786124#M78484</link>
    <description>Trying the attach again.</description>
    <pubDate>Thu, 15 Aug 2002 07:44:41 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2002-08-15T07:44:41Z</dc:date>
    <item>
      <title>scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786114#M78474</link>
      <description>Just looking for some tested and tried scripts to clean up /tmp.  Anything will help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;..Joe</description>
      <pubDate>Wed, 14 Aug 2002 14:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786114#M78474</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2002-08-14T14:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786115#M78475</link>
      <description>We use a cron job that simply does &lt;BR /&gt;&lt;BR /&gt;find /tmp -mtime +10 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;PEte</description>
      <pubDate>Wed, 14 Aug 2002 14:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786115#M78475</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-08-14T14:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786116#M78476</link>
      <description>We have a cron entry to remove anything over 30 days old:&lt;BR /&gt;&lt;BR /&gt;30 23 * * 5 find /tmp/* -atime +30 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 14 Aug 2002 14:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786116#M78476</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-08-14T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786117#M78477</link>
      <description>This thread may help&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc8294b3ef09fd611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc8294b3ef09fd611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Wed, 14 Aug 2002 14:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786117#M78477</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2002-08-14T14:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786118#M78478</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;There's some discussion of other alternatives in this thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x30108f960573d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x30108f960573d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 14 Aug 2002 14:28:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786118#M78478</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-08-14T14:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786119#M78479</link>
      <description>Well, it could be as simple as something like:&lt;BR /&gt;&lt;BR /&gt;find /tmp /var/tmp -mtime +3 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;However, I do not like this approach because you are fixing the symptoms rather than the problem itself. I absolutely beat into the heads of all developers that this is their responsibility; I consider leaving temp files about as bad as allowing memory leaks to creep into code. I will admit that if someone does a kill -9, there is not a whole lot to be done about that inside the code. I have another baseball bat to deal with that problem.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Aug 2002 14:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786119#M78479</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-14T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786120#M78480</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;this is what I do - find old unused files in the tmp dir and remove them:&lt;BR /&gt;#  find /tmp \( -atime +14 -a -mtime +30 \) -exec rm -r {} \;</description>
      <pubDate>Wed, 14 Aug 2002 14:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786120#M78480</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-14T14:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786121#M78481</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;You can also set this on the crontab and will do it automatically:&lt;BR /&gt;# crontab -e&lt;BR /&gt;add entry:&lt;BR /&gt;07 00 * * * find /tmp \( -atime +14 -a -mtime +30 \) -exec rm -r {} \;</description>
      <pubDate>Wed, 14 Aug 2002 14:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786121#M78481</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-14T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786122#M78482</link>
      <description>All good answers.  I guess it's taylored to your respective environment and rules.&lt;BR /&gt;&lt;BR /&gt;...Joe</description>
      <pubDate>Wed, 14 Aug 2002 14:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786122#M78482</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2002-08-14T14:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786123#M78483</link>
      <description>Attached a script that runs from cron. Tweak to your needs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Aug 2002 07:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786123#M78483</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-08-15T07:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: scripts available to clean up /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786124#M78484</link>
      <description>Trying the attach again.</description>
      <pubDate>Thu, 15 Aug 2002 07:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripts-available-to-clean-up-tmp/m-p/2786124#M78484</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-08-15T07:44:41Z</dc:date>
    </item>
  </channel>
</rss>

