Showing posts with label Clear domlogs. Show all posts
Showing posts with label Clear domlogs. Show all posts

Clear domlogs

0 comments

cd /usr/local/apache/domlogs


for i in `du -sch * | grep G`; do :> $i; done


for i in `du -sch * | grep [0-9][0-9][0-9]M`; do :> $i; done


for i in `du -sch * | grep [0-9][0-9]M`; do :> $i; done


for i in `du -sch * | grep [0-9]M`; do :> $i; done


/etc/init.d/httpd restart