gwstat - Graphic wwwstat.


Syntax

       gwstat [ options ]


Description

       generates  a  set  of bar graphs (in gif format) to illus-
       trate the traffic statistics of server.  does not  process
       the  file  maintained  by the daemon directly, it uses the
       high  level  abstract  html  output   of   (available   at
       <http://www.ics.uci.edu/WebSoft/wwwstat/>).



Options

       -h     Display the usage of and its version information.

       -v     Verbose,  all  the  intermediate  results are kept.
              Used for debugging.

       -d dir Tell where to put the generated gif files.

       -i fn  The input html file generated by wwwstat.

       -n     Sort the values for "by country"  or  "by  archive"
              graphs.

       -s wxh Specify  the  size  of  generated  icons  (used for
              inline image).

       -D name
              The filename for statistics by  day.  For  example,
              given the name "daily", generate graphs "daily.gif"
              and "daily-chip.gif".

       -A name
              The filename for statistics by archive.

       -H name
              The filename for statistics by hour.

       -W name
              The filename for statistics by week.

       -M name
              The filename for statistics by month.

       -Y name
              The filename for statistics by year.

       -R name
              The filename for statistics of last 7 days.

              The filename for statistics by country or domain.

       -t mm/dd/yy
              Only generate statistics up to this date. Note  the
              date  should be quoted as a string. This option has
              no effect on "-H" and "-C" options.

       -b color
              The frame background color. Note only these  colors
              are  recognized by :white, black, red, green, blue,
              yellow, RosyBrown, gray, DarkOrchid, cyan, magenta,
              orange, DarkViolet, brown, turquoise and LimeGreen.

       -f colors
              The color used to fill the bars in the  graph.  For
              example, -f "red" or -f "red white".

       -o color
              The bar outline color.


Example

       %     gwstat     -D     "daily"     -W     "weekly"     -i
       /usr/local/etc/httpd/stats/wwwstat.html



Install

       is written in Perl. To run  it,  these  programs  must  be
       available:

       1.     (available  at <http://www.ics.uci.edu/WebSoft/www-
              stat/>), it generates the output that  needs.  Note
              the  "Daily  Transmission  Statistics" generated by
              wwwstat is sorted from  the  past  to  the  present
              (strange!).   Find  "sub  datecompare" in  wwwstat,
              and change "$date1 - $date2;" to "$date2 - $date1;"
              will get  the correct order gwstat needs.


       2.     (available            at           <ftp://ftp.tele-
              port.com/pub/users/pturner/acegr/>),   a   plotting
              package. It is the engine (v8) of gwstat.


       3.     (available   at   <ftp://ftp.x.org/contrib/applica-
              tions/ImageMagick>), an  image  processing  package
              which is used by to do image type conversion.


       4.     (available              at             <ftp:/anony-
              mous@ftp.cs.wisc.edu:/pub/ghost/aladdin>),  it   is
              used  by  for  image  type conversion. Note that gs
              must be built with the support to device  "ppmraw",

       The   distribution   information   of   can  be  found  at
       <http://dis.cs.umass.edu/stats/gwstat.html>.

       An       example       can       be        found        at
       <http://dis.cs.umass.edu/stats/summary.html>




Copyright

       is  distributed  under the terms of the GNU General Public
       License as published  by  the  Free  Software  Foundation;
       either version 2, or (at your option) any later version.



Author

       Qiegang Long
       Department of Computer Science
       University of Massachusetts
       Amherst, MA01003
       Internet: QLONG@CS.UMASS.EDU

































Man(1) output converted with man2html