root/man/apachetop.1

Revision 5, 1.9 KB (checked in by nick, 3 years ago)
Line 
1.TH apachetop 1  "February 13, 2004" "version 0.10" "USER COMMANDS"
2.SH NAME
3apachetop \- display real-time web server statistics
4.SH SYNOPSIS
5.B apachetop [-f filename] [-H hits | -T time] [-q] [-l] [-s segments] [-p] [-r secs]
6.SH DESCRIPTION
7ApacheTop watches a logfile generated by Apache (in standard common or
8combined logformat, and generates human-parsable output in realtime.
9.OPTIONS
10.TP
11-f logfile
12Select which file to watch.
13Specify this option multiple times to watch multiple files.
14.TP
15-H hits | -T time
16These options are mutually exclusive. Specify only one, if any at
17all. They work as follows. ApacheTop maintains a table of
18information internally containing all the relevant information about
19the hits it's seen. This table can only be a finite size, so you
20need to decide how big it's going to be. You have two options.
21You can either:
22Use -H to say "remember <this many> hits"
23or      Use -T to say "remember all hits in <this many> seconds"
24The default (at the moment) is to remember hits for 30 seconds.
25Setting this too large (whichever option you choose) will cause
26ApacheTop to use more memory and more CPU time. My experimentation
27finds that remembering no more than around 5000 requests works well.
28.TP
29-q
30Instructs ApacheTop to keep the querystrings, not remove them.
31.TP
32-l
33Instructs ApacheTop to lowercase all URLs, thus /FOO and /foo are
34treated as the same and accumulate the same statistics.
35.TP
36-s segments
37Instructs ApacheTop to only keep the first <segments> parts of the
38path. Trailing slashes are kept if present. Statistics are then
39merged for each truncated url.
40.TP
41-p
42Instructs ApacheTop to keep the protocol (http:// usually) at the
43front of its' referrer strings. Normal behaviour is to remove them
44to give more room to more useful information.
45.TP
46-r secs
47Set default refresh delay, in seconds.
48.SH EXAMPLES
49.TP
50apachetop -f /var/logs/httpd/access.log
51.SH AUTHOR
52Chris Elsworth <chris@shagged.org>
53.SH SEE ALSO
54http://clueful.shagged.org/apachetop/
Note: See TracBrowser for help on using the browser.