upload http
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / docs / man / logresolve.8
1 .\" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2 .\" DO NOT EDIT! Generated from XML source.
3 .\" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
4 .de Sh \" Subsection
5 .br
6 .if t .Sp
7 .ne 5
8 .PP
9 \fB\\$1\fR
10 .PP
11 ..
12 .de Sp \" Vertical space (when we can't use .PP)
13 .if t .sp .5v
14 .if n .sp
15 ..
16 .de Ip \" List item
17 .br
18 .ie \\n(.$>=3 .ne \\$3
19 .el .ne 3
20 .IP "\\$1" \\$2
21 ..
22 .TH "LOGRESOLVE" 8 "2004-01-06" "Apache HTTP Server" "logresolve"
23
24 .SH NAME
25 logresolve \- Resolve IP-addresses to hostnames in Apache log files
26
27 .SH "SYNOPSIS"
28  
29 .PP
30 \fBlogresolve\fR [ -\fBs\fR \fIfilename\fR ] [ -\fBc\fR ] < \fIaccess_log\fR > \fIaccess_log\&.new\fR
31  
32
33 .SH "SUMMARY"
34  
35 .PP
36 logresolve is a post-processing program to resolve IP-addresses in Apache's access logfiles\&. To minimize impact on your nameserver, logresolve has its very own internal hash-table cache\&. This means that each IP number will only be looked up the first time it is found in the log file\&.
37  
38 .PP
39 Takes an Apache log file on standard input\&. The IP addresses must be the first thing on each line and must be seperated from the remainder of the line by a space\&.
40  
41
42 .SH "OPTIONS"
43  
44  
45 .TP
46 -s \fIfilename\fR
47 Specifies a filename to record statistics\&.  
48 .TP
49 -c
50 This causes logresolve to apply some DNS checks: after finding the hostname from the IP address, it looks up the IP addresses for the hostname and checks that one of these matches the original address\&.  
51