vnstat

Console-based network traffic monitor

https://humdi.net/vnstat/

/api/formula-linux/vnstat.json (JSON API)

Linux formula code on GitHub

Current versions:

stable 2.5
head ⚡️ HEAD
bottle 🍾 catalina, mojave, high_sierra, x86_64_linux

Depends on:

gd 2.2.5 Graphics library to dynamically manipulate images
sqlite 3.30.1 Command-line interface for SQLite
To monitor interfaces other than "en0" edit $(brew --prefix)/etc/vnstat.conf
Fork me on GitHub