Shell's tag archives

Clear squid cache file of shell script

Posted under Article, Cache & Storage on Thursday, 24 June 2010 by
Squid will cache directory set to create multiple directories, each directory, then create multiple directories, and then only in the innermost layer of the directory store cache files (object). squid based on user requests the page URL to hash to generate the cache files, stored in a single...
Clear squid cache file of shell script

Mysql bin log files to remove the shell

Posted under Article, Database on Sunday, 19 July 2009 by
Mysql bin log files to remove the shell script, share to everybody #!/bin/sh  DELLOG="/usr/local/logs/del-sqlbin.log.`date +%d`" DELTMP="/usr/local/logs/del-sqlbin.tmp" MAIL_ADDR="xxx@xxx.xx" exec &>$DELLOG DT=`date +'%Y-%m-%d %T'` SINGLE=0 sleep 30 hostname echo...
Mysql bin log files to remove the shell