# DU Meter Totals and Reports

The DU Meter "Totals and Reports" window shows how much data this computer has transferred: at a glance for
today, this week and this month, over any period you choose, and program by program. It has three tabs, and it
can export what it shows to a number of popular file formats.

> [!TIP]
> Users of [dumeter.net](https://www.hageltech.com/support/kb/du/using/dumeter_net) have access to vastly superior graphs and reports, and can
> see aggregate data from several computers connected to one dumeter.net account. Dumeter.net is currently
> free for registered DU Meter users.

### Overview

Three cards show today, this week and this month: the total, and how much of it was received and sent. A cost
is shown when [data transfer costs](https://www.hageltech.com/support/kb/du/using/options/costs) are set up with a rate, or when the period cost
something, and a connection time when dial-up or VPN connections were made. Weeks and months begin on the days
set on the History page of [Options](https://www.hageltech.com/support/kb/du/using/options/database).

When a period is near its end, DU Meter extrapolates the traffic so far to the end of the period. That
estimate is the "Projected" line of its card.

The link at the bottom of a card opens that day, week or month on the History tab.

#### Alert limit

While the [Data limit alert](https://www.hageltech.com/support/kb/du/using/options/long_alert) is enabled, the card of its period shows a bar: how much of the
alert's limit has been used. The bar counts what the alert counts, which is incoming, outgoing or combined
traffic, or the traffic cost. It turns red when the limit is reached. A mark on the bar shows where the
projection ends.

#### Last 24 hours and top programs

The chart shows the traffic of the last 24 hours, hour by hour. Beside it are the programs that used the
network most today; "All programs" opens today on the Programs tab.

#### Counter

The last line is an "odometer": it counts the traffic since a moment you choose. Click "Reset counter" to
start counting again. DU Meter rounds the start to the hour, so the counter then begins with the current hour.

### History

This tab shows the traffic of one period as a chart and as a table of the same lines.

- **Period** - An hour, a day, a week, a month or a year, everything DU Meter has recorded, or two dates of
  your choice. The arrow buttons go to the period before and after.
- **Show by** - Whether the period is divided into hours, days, weeks or months. A week or a month that the
  period contains only a part of is listed with the dates of that part.

The figures above the chart are the totals of the period. The table has a "Connection time" column when
dial-up or VPN connections were made in the period, and a "Cost" column when the traffic had a cost. Click a
column heading to sort by that column, and again to reverse the order.

Click a bar of the chart or a line of the table to select it. The links under the table then open what is
selected: "Show in detail" makes that day, week or month the period, and "Show programs" opens it on the
Programs tab. A double click, or the Enter key, does the same as "Show in detail"; for an hour, which has
nothing finer, it shows the hour's programs.

### Programs

This tab lists how much each program received and sent in the period, the busiest first, with a bar for its
share. The period is the same one as on the History tab. Rest the pointer on a program to see where its file
is.

The chart shows all traffic of the period until you click a program; then it shows that program's traffic, and
the figures above it are that program's. "Show all traffic" returns to the whole.

The last lines of the list are not programs:

- **Other programs** - Only the busiest programs of an hour keep a line of their own in the history. The
  others of that hour are added up here.
- **System and protocol overhead** - A program's traffic is the data the program itself sends and receives.
  The totals also count what the network adds to carry that data, and the traffic of Windows that belongs to
  no program. This line is the difference: a few percent of a large download, more where many small requests
  are made.
- **Counted by programs only** - Shown in place of the overhead line when the programs add up to more than the
  totals. That happens when a program uses a connection the totals do not count: a VPN, or a network adapter
  that is excluded in the options.

When DU Meter counts Internet traffic only, a further column shows each program's LAN traffic, which the
totals leave out; when it counts LAN traffic only, the column shows Internet traffic.

The history of programs begins with DU Meter 10, and is kept only while "Keep separate totals for each
program" is checked in the [History](https://www.hageltech.com/support/kb/du/using/options/database) options. Where the period includes hours without it, a note
under the list says how many hours were recorded, and the programs add up to less than the History tab shows
for the same period.

### Export

The "Export" button of the History and Programs tabs writes what the tab shows to a file: the lines of the
History table, or the programs of the period. Choose the file type and the file name, then click "Export".
Several popular file formats are supported, including HTML, Microsoft Word, Microsoft Excel, Adobe Acrobat,
XML, and others.

A report covers whole days: for a period of one hour, the report is of its day.

### Automatic reports

You may want DU Meter to create reports automatically for you. Click "Automatic reports" in the Export window,
select what kind of report you would like and how often to generate it, and DU Meter will do the rest.

If you enable automatic report generation, the specified file will be automatically overwritten, without
warning, each time a new report is created. The automatic reports are created by the DU Meter service, which
runs under the local system account. This means that the selected file name must be on the local computer, not
on the drive shared over the network from some other computer.

In an automatic report of programs, an app from the Microsoft Store appears under the name of its package, not
the name the Programs tab shows.

In order to save these options, you must have administrative rights on your computer.

#### Special codes in report file names

DU Meter expands system environment variables in the file name of the report before report is generated.
Therefore, the report file name can be dynamic. For example, if the file name is set to `C:\Reports\DU Meter
Report on %COMPUTERNAME%-%DATE%.xls`, then `%COMPUTERNAME%` will be replaced with the local computer's name,
and `%DATE%` will be replaced with today's date in "yyyymmdd" format.

In addition to all the environment variables available to all programs, the following two special variables
can be used: `%DATE%` is the current date, and `%DATETIME%` is the current time in "yyyymmddhhmmss" format,
e.g. year followed by month, day, hours, minutes and seconds. Some of the more useful environment variables
are `%COMPUTERNAME%`, `%TEMP%` (temporary directory), `%PUBLIC%` (public directory, writable by all users).

Since the automatic reports are created in the DU Meter service, they are generated in the context of the
local system profile. Therefore, current user environment variables are not available then.

