Martin Hamilton > WebCache-Digest > peek.pl

Download:
WebCache-Digest-1.00.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

peek.pl - look up URLs in Cache Digests

SYNOPSIS ^

  echo http://www.w3.org | dpeek.pl -duv reboot.wwwcache.ja.net 3128
  dpeek.pl -h saved-digest < old-access-log
  zcat old-access-log.gz | dpeek.pl -v saved-digest

DESCRIPTION ^

This program lets you look up URLs (the HTTP 'GET' method is assumed) in Cache Digests which are either fetched via HTTP or loaded from a file. The list of URLs should be supplied via STDIN, and can be in Squid log file format (the default), or simply a list of URLs (when the -u argument is supplied).

OPTIONS ^

-d

Debug mode - causes helpful debugging messages to be printed

-h

Print the Digest header details out, e.g. version number and number of URLs in Digest, then exit.

-u

Input is a list of URLs rather than Squid log file format.

-v

Verbose mode - causes each URL being looked up to be printed to STDOUT, along with a hit/miss indicator.

COPYRIGHT ^

Copyright (c) 1999, Martin Hamilton. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

It was developed by the JANET Web Cache Service, which is funded by the Joint Information Systems Committee (JISC) of the UK Higher Education Funding Councils.

AUTHOR ^

Martin Hamilton <martinh@gnu.org>

syntax highlighting: