Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 07:16 PM
07-04-2004 07:16 PM
I would like to known if I could do an script to eliminated all the files that are not in use (doing an fuser), I want to executed it when /var will be full.
It's possible or maybe I can destroy some files that I cannot remove??
Thanks!
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 07:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 07:33 PM
07-04-2004 07:33 PM
Re: /var/tmp
find /var/tmp -mtime +7 -exec rm {} \;
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 07:49 PM
07-04-2004 07:49 PM
Re: /var/tmp
I would go with Mark's suggestion of setting up a cronjob that will do this for you.
As he indicated, select a criteria like 7 days or 15 days, what ever suits the best to your environment and run it once that many days.
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 01:01 AM
07-05-2004 01:01 AM
Re: /var/tmp
On my servers, /var/tmp is quite small anyways - 8 to 24 MB or so...
If using perfiew, make the following a separate filesystem:
/var/opt/perf/datafiles
Also, make /var/adm/crash one as well...
I find /var/adm/sw/save the largest - if you can't extend /var, you can always run a cleanup on your installed patches:
cleanup -c 2
Rgds...Geoff