Well, you should identify the processes that are leaving files there and fix them. In my experience, it was lazy programming that contributed the bulk of files.
In the UNIX world, where I admin'd many many years ago, it was in the startup script to clear /tmp. I wanted to do that on our IBM I at my last employer but wasn't in a position to make that call.
I did make it a point to regularly check /tmp and clear out what I could though. It rarely got over 100 or so files/folders while I was there. I shudder to think what it is now, 2 years after I retired - even though I made them aware of it and suggested an automation to keep it in check.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Don Brown via MIDRANGE-L
Sent: Monday, February 26, 2024 9:04 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Don Brown <DBrown@xxxxxxxxxx>
Subject: Who clears /tmp regularly
I was trying to provide some files to IBM on a machine we don't regularly
look after.
The files were in /tmp
There were over 1 million files in /tmp and it seems you can only enter a
filter after the list has been built.
Just curious if you regularly clear this directory or if you have tools to
regularly clean up old files or some other approach ?
Cheers
Don
--
This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments..
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.