<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    void

    批量清除Squid緩存的小工具

    很實用的一個清除squid緩存的小工具:
    http://www.wa.apana.org.au/~dean/squidpurge/

    wget http://www.wa.apana.org.au/~dean/sources/purge-20040201-src.tar.gz
    tar zxvf purge-20040201-src.tar.gz
    cd purge
    make
    [root@cache purge]# ./purge -help
    ### Use at your own risk! No guarantees whatsoever. You were warned. ###

    $Id: purge.cc,v 1.17 2000/09/21 10:59:53 cached Exp $
    Usage: purge   [-a] [-c cf] [-d l] [-(f|F) fn | -(e|E) re] [-p h[:p]]
                    [-P #] [-s] [-v] [-C dir [-H]] [-n]

    -a     display a little rotating thingy to indicate that I am alive (tty only).
    -c c   squid.conf location, default "/usr/local/squid/etc/squid.conf".
    -C dir base directory for content extraction (copy-out mode).
    -d l   debug level, an OR of different debug options.
    -e re single regular expression per -e instance (use quotes!).
    -E re single case sensitive regular expression like -e.
    -f fn name of textfile containing one regular expression per line.
    -F fn name of textfile like -f containing case sensitive REs.
    -H     prepend HTTP reply header to destination files in copy-out mode.
    -n     do not fork() when using more than one cache_dir.
    -p h:p cache runs on host h and optional port p, default is localhost:3128.
    -P #   if 0, just print matches; otherwise OR the following purge modes:
               0x01 really send PURGE to the cache.
               0x02 remove all caches files reported as 404 (not found).
               0x04 remove all weird (inaccessible or too small) cache files.
            0 and 1 are recommended - slow rebuild your cache with other modes.
    -s     show all options after option parsing, but before really starting.
    -v     show more information about the file, e.g. MD5, timestamps and flags.

    1.清除URL中包含jackbillow.com的所有緩存
    ./purge -p 127.0.0.1:80 -P 1 -se 'jackbillow.com'

    2.清除 URL 以“.mp3”結尾的緩存文件,例如:http://www.jackbillow.com/abc/test.mp3
    ./purge -p 127.0.0.1:80 -P 1 -se '\.mp3$'

    posted on 2009-06-26 10:17 void 閱讀(624) 評論(0)  編輯  收藏 所屬分類: Squid

    主站蜘蛛池模板: 亚洲国产精品毛片av不卡在线 | 欧美亚洲国产SUV| 在免费jizzjizz在线播| 亚洲av无码专区在线播放| 久久久久久毛片免费看| 亚洲综合色成在线播放| jizz中国免费| 亚洲中文字幕久久精品无码喷水| 一级午夜a毛片免费视频| 亚洲精品自在在线观看| 久久福利青草精品资源站免费| 亚洲精品福利视频| ww在线观视频免费观看| 亚洲a级在线观看| 成人免费无码大片a毛片| WWW国产亚洲精品久久麻豆| 亚洲高清最新av网站| 免费无码作爱视频| 亚洲高清美女一区二区三区| 91在线视频免费91| 看亚洲a级一级毛片| 在线观看国产区亚洲一区成人 | 亚洲五月综合缴情婷婷| 啦啦啦www免费视频| GOGOGO免费观看国语| 亚洲丁香色婷婷综合欲色啪| 一本无码人妻在中文字幕免费 | 亚洲AV永久无码精品一福利| 亚洲av无码不卡私人影院| 永久免费A∨片在线观看| 亚洲另类春色校园小说| 四虎影视精品永久免费网站| 三年片免费高清版| 亚洲男人的天堂在线| 国产gav成人免费播放视频| 老司机精品免费视频| 亚洲精品伊人久久久久| 亚洲综合另类小说色区| 久久久久久精品免费看SSS| 美女扒开尿口给男人爽免费视频| 亚洲AV日韩AV高潮无码专区|