Author: Sean Vyain

# PPPLoad

PPPLoad is designed to display the current throughput of a particular PPP link in a format that is similar to `xload`. PPPLoad has the following features:

- Displays average throughput in bytes per second for both transmit and receive.
- Throughput is shown as a bar graph, like `xload`.
- Transmit rate is shown in forestgreen, and receive rate is shown in red.
- Transmit and receive are shown on the same graph, with transmit drawn on top of receive (receive is likely to be always more than transmit).
- For every 512 bytes per second of throughput, a horizontal line is drawn.
- The graph automatically scales to fit the maximum transmit or receive rate.
- The total number of bytes transmitted and received is displayed.

## Command Line Options

-cmd ppp_cmd
  The command to start the PPP link.
-i interval
  The statistics polling interval in seconds (default: 5).
-p period
  The load averaging period in seconds (default: 60).
-retry interval
  The time between retries when dialling the PPP link (default: 60).
-rx
  Enable drawing of receive rates (default).
-norx
  Disable drawing of receive rates.
-rxcolor color
  The name of the color to draw receive rates in (default: forestgreen).
-tx
  Enable drawing of transmit rates (default).
-notx
  Disable drawing of transmit rates.
-txcolor color
  The name of the color to draw transmit rates in (default: red).

## Implementation Details

For information on the implementation, click here.