/usr/share/doc/libapache2-mod-qos/qslog.1.html is in libapache2-mod-qos 9.76-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of QSLOG</TITLE>
</HEAD><BODY>
<H1>QSLOG</H1>
Section: qslog man page (1)<BR>Updated: 07 December 2011<BR><A HREF="#index">Index</A>
<A HREF="index.html#utilities">Return to Main Contents</A><HR>
<P>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
qslog - collects request statistics from access log data.
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
qslog -f <format_string> -o <out_file> [-p [-v]] [-x] [-u <name>] [-m]
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
qslog is a real time access log analyzer. It collects the data from stdin. The output is written to the specified file every minute and includes the following entries:
<BR> - requests per second (r/s)
<BR> - bytes sent to the client per second (b/s)
<BR> - bytes received from the client per second (ib/s)
<BR> - repsonse status codes within the last minute (1xx,2xx,3xx,4xx,5xx)
<BR> - average response duration (av)
<BR> - distribution of response durations within the last minute
(<1s,1s,2s,3s,4s,5s,>5)
<BR> - number of established (new) connections within the last minutes (esco)
<BR> - average system load (sl)
<BR> - free memory (m) (not available for all platforms)
<BR> - number of client ip addresses seen withn the last 600 seconds (ip)
<BR> - number of different users seen withn the last 600 seconds (usr)
<BR> - number of mod_qos events within the last minute (qV=create session,
qS=session pass, qD=access denied, qK=connection closed, qT=dynamic keep-alive, qL=request/response slow down, qs=serialized request)
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT>-f <format_string> <DD>
Defines the log data format and the positions of data elements processed by this utility. See to the 'LogFormat' directive of the httpd.conf file to see the format defintions of the servers access log data.
<BR> qslog knows the following elements:
<BR> I defines the client ip address (%h)
<BR> R defines the request line (%r)
<BR> S defines HTTP response status code (%s)
<BR> B defines the transferred bytes (%b or %O)
<BR> i defines the received bytes (%I)
<BR> T defines the request duration (%T)
<BR> t defines the request duration in milliseconds (optionally used instead of T)
<BR> D defines the request duration in microseconds (optionally used instead of T)
<BR> k defines the number of keepalive requests on the connection (%k)
<BR> U defines the user tracking id (%{mod_qos_user_id}e)
<BR> Q defines the mod_qos_ev event message (%{mod_qos_ev}e)
<BR> . defines an element to ignore (unknown string)
<P>
<DT>-o <out_file> <DD>
Specifies the file to store the output to.
<DT>-p <DD>
Used when reading the log data from a file (cat/pipe). qslog is started using it's offline mode in order to process existing log files (post processing).
<DT>-v <DD>
Verbose mode.
<DT>-x <DD>
Rotates the output file once a day (move).
<DT>-u <name> <DD>
Become another user, e.g. www-data.
<DT>-m <DD>
Calculates free system memory every minute.
</DL>
<A NAME="lbAF"> </A>
<H2>EXAMPLE</H2>
Configuration using pipped logging:
<P>
<BR> LogFormat "%t %h \"%r\" %>s %b \"%{User-Agent}i\" %T"
<BR> TransferLog "|./bin/qslog -f ..IRSB.T -x -o ./logs/stat_log"
<P>
Configuration using the CustomLog directive:
<P>
<BR> CustomLog "|./bin/qslog -f ISBTQ -x -o ./logs/stat_log" "%h %>s %b %T %{mod_qos_ev}e"
<P>
Post processing:
<P>
<BR> cat access_log | ./bin/qslog -f ..IRSB.T -o ./logs/stat_log -p
<P>
<A NAME="lbAG"> </A>
<H2>SEE ALSO</H2>
<A HREF="qsexec.1.html">qsexec</A>(1), <A HREF="qsfilter2.1.html">qsfilter2</A>(1), <A HREF="qsgrep.1.html">qsgrep</A>(1), <A HREF="qspng.1.html">qspng</A>(1), <A HREF="qsrotate.1.html">qsrotate</A>(1), <A HREF="qssign.1.html">qssign</A>(1), <A HREF="qstail.1.html">qstail</A>(1)
<A NAME="lbAH"> </A>
<H2>AUTHOR</H2>
Pascal Buchbinder, <A HREF="http://opensource.adnovum.ch/mod_qos/">http://opensource.adnovum.ch/mod_qos/</A>
<P>
<HR>
<A NAME="index"> </A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">EXAMPLE</A><DD>
<DT><A HREF="#lbAG">SEE ALSO</A><DD>
<DT><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
<img align="right" border="0" src="nevis.gif"/>
</BODY>
</HTML>
|