This is the README file for xnetload 1.4 for Linux.

This program displays network traffic and uptime for the network connection
named on the command line. I originally wrote it to monitor my dial-up
connection. It requires the /proc filesystem! It can use IP-accounting if
it's available.

Changes for version 1.4
- Fixed a bug in the code for calculating the average.
- code separated into data-gathering and user-interface.
- Modified it to make it work with 2.1.xx kernels. 
  Thanks to Adrian Bridgett <adrian.bridgett@poboxes.com> for sending in
  this patch.
- Added a fix to make it work with IP-aliases. Thanks to Raphael Wegmann
  <wegmann@mail.psi.co.at> for contributing it.
- It display bytes/s if IP-accounting is enabled.
  Tony Mancill <tmancill@debian.org> submitted the basic code.
- The period over which the packet count is avaraged can be changed in the
  makefile.

Version 1.3 employs some code for snooping on sockets. It wasn't publicly
released. 

Changes for version 1.2:
- Fixed a bug in reading large packet counts.
  (Thanks to Rik Hemsley for spotting these.)
- Added library and include-file paths to the makefile. 
- Added StripCharts to display graphs of the network traffic.
- Added resources and command-line options to make it more configurable.

Changes for version 1.1:
- The program now responds to the WM_DELETE_WINDOW message (by terminating
  itself).

The distribution should contain the following files:
LICENSE         GNU General Public License
Makefile        makefile for GNU make
README          :-)
XNetload        application defaults file for xnetload
data.c          data-collecting code
data.h          interface for data collecting code
x11-ui.c        user interface code

Builing and installing the program
- If you want to change the period over which xnetload avarages packet and
  byte counts, change the macro definition -DNUMAVG=5 in the CFLAGS 
  in the makefile. The default is 5 seconds (NUMAVG=5)
- To build the program invoke 'make'.
- To install the program, invoke 'make install' *as root*.
  You have to copy the application defaults file to a place where it can
  be found by X (if you want to use it). Since this varies from system to
  system this is *not* done by the makefile!

If you don't like it, login as root, change to the source directory and run
'make uninstall'. After that you can remove the source tree.

For questions, remarks and bug reports, contact the author, 
Roland Smith, at rsmit06@ibm.net

