<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

    主站蜘蛛池模板: 成人免费午间影院在线观看| 亚色九九九全国免费视频| 精品视频在线免费观看| 亚洲免费视频网站| 最近中文字幕免费mv视频7| 国产精品另类激情久久久免费| 无码国产亚洲日韩国精品视频一区二区三区 | 国产精品亚洲四区在线观看 | 日本亚洲欧洲免费天堂午夜看片女人员| 无码少妇精品一区二区免费动态| 1000部拍拍拍18勿入免费凤凰福利| 嫩草影院免费观看| 精品国产日韩亚洲一区| 亚洲黄色高清视频| 日本系列1页亚洲系列| 成人黄网站片免费视频| 中文字幕无码免费久久99| 亚洲无线一二三四区手机| 337p日本欧洲亚洲大胆艺术| 亚洲大尺度无码无码专线一区| 中文字幕无线码中文字幕免费| 4虎永免费最新永久免费地址| 免费a级毛片视频| 激情内射亚洲一区二区三区| 亚洲AV无码精品国产成人| 日本不卡免费新一区二区三区 | 久久不见久久见中文字幕免费| 亚洲精品无码av天堂| 亚洲精品永久www忘忧草| 国产精品亚洲色图| 久久精品中文字幕免费| 日韩激情淫片免费看| 亚洲国产国产综合一区首页| 亚洲AV色欲色欲WWW| 久久国产高潮流白浆免费观看| 又黄又大又爽免费视频| 亚洲神级电影国语版| 一级一级一片免费高清| 啦啦啦中文在线观看电视剧免费版| 亚洲香蕉网久久综合影视| 国产成人精品日本亚洲11|