Finding big log files on Centos

You can find big log files with following shell script, especial for logdir in $(find /var/www/vhosts/*/statistics/logs -type f); do \ echo $logdir; done | tr “\n” ” ” | xargs du -cl | sort -n This script can be developed for deleting files also, but should be careful for deleting files with scripts. The result […]

23 Kasım 2012

Posted In: linux, Log Files, Plesk Panel, Plesk Panel Logs

WP Twitter Auto Publish Powered By : XYZScripts.com