Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

peek.pl
look up URLs in Cache Digests

peek.pl - look up URLs in Cache Digests


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>

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy