Hi David,

Does anyone if it's safe to clear /tmp when the system is re-ipl'ed and/or on a periodic basis?

IBM provides a QShell command named 'clrtmp' intended to clear this directory. You can read about it in the Info Center:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzahz/clrtmp.htm

IBM's statement is that "Unpredictable results may occur if clrtmp is called while the sysstem is running." They suggest that you may want to run it in your QSTRUPPGM (i.e. after an IPL, but before software is started) instead.

Having said that.. in reality, /tmp is just a normal directory (unlike the QTEMP library), and any application can use it as they see fit. It might be smart to ask any of your software vendors whether or not clearing /tmp will hurt their software. As much as I HOPE they're not storing permanent/required data in that directory, there's little to stop them from doing so.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].