| | |
Need Filesystem Maintenance Script
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
Hi, I am not really good at shell scripting. I usually cut and paste from other scripts and customize it to do what I need. I am running Oracle 10g on AIX 5.3 machine and I need a script that does monitors a filesystem, I would say at least every hour by cron, and if the filesystem hits above 80% full then I want the script to start deleting the oldest files in the filesystem first until the filesystem is back down to 50% full.
I have scripts that monitor the filesystem, but the whole 80 to 50% thing is where I am stumped. I know if I spent the next few days studying I could figure it out, but I need this script today really for the customer. Anyone able to assist me? I would really appreciate it. Thanks.
Jim
I have scripts that monitor the filesystem, but the whole 80 to 50% thing is where I am stumped. I know if I spent the next few days studying I could figure it out, but I need this script today really for the customer. Anyone able to assist me? I would really appreciate it. Thanks.
Jim
![]() |
Similar Threads
- Help needed with a simple string (PHP)
- windows script host - help me pls (HTML and CSS)
- Windows script need help (Computer Science)
- Running PHP scripts in backround (PHP)
- how to open a jpg from mysql database (PHP)
- Shell script for identifying FS TYPE and mounting via LOOP device (Shell Scripting)
Other Threads in the Shell Scripting Forum
- Previous Thread: perform file actions located in another direcory
- Next Thread: Toch
| Thread Tools | Search this Thread |
Tag cloud for Shell Scripting





