# urbestack-traffic-update

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-traffic-update
```

## Description

Counts each customer's bandwidth since the last run, grouped by day and traffic type.

The systemd journal provides the size of each mail delivery to the hosted side (mail), IMAP and POP3 bytes in both directions including webmail (mailbox), and bytes transferred via FTP (ftp). The first run reads the entire journal. Later runs resume from the saved cursor.

For web traffic (web), it counts response bytes from each domain's rotated access logs it has yet to process.

urbestack-traffic.timer runs the command hourly. You can also run it manually at any time without counting traffic twice.
