For copyright information, please see the file COPYRIGHT in this
directory or in the files of the source tree.

This project was initiated on 2010-06-29 by Palard Julien
See http://julien.palard.fr or ask me questions at :
julien at palard in fr

Compile :
    You will need :
    $ aptitude install libncurses5-dev uthash-dev

Run :
    You will need :
    $ aptitude install libncurses5

Usage :
  logtop displays real-time count of strings recieved in standard input.
  I's useful for some cases, like :
  tail -f /var/log/apache2/access.log \
    | sed -u -r 's/^([^ ]+) ([^ ]+) ([^ ]+) \[([^]]+)] "([^ ]+) ([^"]+) HTTP\/([^"]+)" ([^ ]+) ([^ ]+) "([^"]+)" "([^"]+)"$/\6/g' \
    | logtop
  to show the top pages requested on your apache
  I'd put parenthesis everywhere to allow you to switch the selection :
   1: ip
   2: date
   5: method
   6: url
   7: version
   8: status
   9: length
   10: referer
   11: useragent
)

Compile (Dependencies) :
  Package: libncurses5-dev
    Version: 5.7+20100313-1

Development :
  I use a hashtable to store strings and an AVL tree to store frequencies,
  so I can fetch by string or fetch ordered by frequency to display the
  top-strings.

About libavl:
  The libavl used here is the Ben Pfaff's one, statically build with logtop, as
  Ben want it to be (see INSTALL file and here :
  http://lists.debian.org/debian-devel/2001/07/msg01303.html)
  So this libavl is NOT packaged as a library for Debian, the libavl you'll
  found in Debian repositories is the Wessel Dankers's one.

TODO :
  Better integration with curses (resize...)
