Any interesting trends from Covid-19

Install vnstat which is what gathers the data. It’s very lightweight.

sudo apt install vnstat vnstati

Then I use a cron entry to run a script to generate the images:

#!/bin/bash

vnstati -hs -o /usr/share/dump1090-fa/html/net/summary.png
vnstati -d -o /usr/share/dump1090-fa/html/net/day.png
vnstati -m -o /usr/share/dump1090-fa/html/net/month.png
vnstati -t -o /usr/share/dump1090-fa/html/net/top.png

They are created in a sub directory of the dump1090 html folder which makes the accessible. There is a basic html file to display them:

<!DOCTYPE html>
<html>
<style>
img {
    max-width:100%;
    height:auto;
}
</style>
<body>
<h1>Network bandwidth usage</h1>

<img src="summary.png" alt="Summary"></p>
<div style="float: left;">
<img src="day.png" alt="Days">
</div>
<div style="float: left;">
<img src="month.png" alt="Months"><br/>
<img src="top.png" alt="Top10">
</div>


</body>
</html>

You can then see it at /dump1090-fa/net

That’s mostly for adsb feeding, with a bit of local data if I happen to look at the map. I feed 7 different networks, with 5 instances of mlat client running. There are also 2 full beast streams going to private networks.

Traffic wise in normal times I see 300-400 aircraft at peak times, with 2800 messages per second.

Edit - added vnstati to install command.

4 Likes