Traffic monitoring (Experimental)

Configuration --> Traffic monitoring

On this page you can configure DSLstats to monitor the upstream and downstream traffic.

Note: this feature will remain experimental because of the variability and inconsistency in the ways different modem/routers report traffic. You may find that one of the predefined setups works in your case, but you may have to work it out by trial and error.

            monitoring configuration

Each modem/router has its own way of reporting traffic, so you will probably have to experiment to find the appropriate combination of command and interface (unless your device is one of the small number in the list). After setting the various options, check "Monitor traffic" to enable the feature.

Modem/router model

This holds a drop-down list of models for which a working configuration has been established. If your router is in the list, select it here and the configuration will hopefully be set appropriately, but there's no certainty that it will work for you.


This is the CLI command which can be used to obtain details of the various data interfaces which the router uses. The traffic information will be extracted from the output of this command. Thomson/Technicolor routers use ip iflist and if you have one of these it will be the only command you can select. Most other models use ifconfig, but if this doesn't work you will need to experiment with the other options. After choosing an option, check the box "Monitor traffic" and examine the output of the command after the next sample completes, in Telnet data --> Traffic. If this just says "blank", try a different command.


When you find the right command as above, the output of the command will show a list of interfaces with data relating to them. Look through the list and find the one which contains appropriate values of upload (TX) and download (RX). In many cases the correct interface will be called ppp*** and will include the description "Point-to-Point Protocol". If your chosen interface is shown in the interface box, then select it, otherwise select "Other" and fill in the name in the "Other interface" box. The values here are case-sensitive, and will almost certainly be lower case.

Reverse RX/TX

In rare cases the router may report these values the wrong way round. If you have one of these, check this box to correct the error.

After completing the configuration and enabling "Monitor traffic" a new tab "Traffic" will be shown, and you can see the traffic values graphically and in text form.

Monthly limit warning

If your internet service is subject to a monthly limit on downloads (or uploads plus downloads) you can set the relevant values here. A horizontal line will be drawn in a different colour (aqua by default) across the monthly traffic graph to indicate where the limit is (so long as the limit is within the range of the current graph scaling). If you select "Upload plus download" the sum of the up and down values will also be plotted alongside the upstream and downstream values.

If your billing month doesn't start on the 1st of the calendar month, you can specify the billing month start day. This doesn't change the main traffic graphs, but it adds a popup in the daily and monthly traffic graphs, giving a summary of billing usage against the allowance.

Reset current day / month

It's possible that some unexpected situation may result in abnormal values being plotted and reported in the box below the chart. If normal values aren't restored after a couple of samples, you can press one of the red buttons to clear the data for the current day, or for the whole of the current month. Try "Reset current day" first, and use the second button only if the first button doesn't clear the errors.

If this happens, please advise the author via the contact form, giving as much detail as possible regarding what led up to the event.