The "php-meter" is a simple solution that uses PHP and Javascript technologies to offer a way to monitor the bandwidth consumption (download / upload) in real time of your internet link, thus allowing you to have an idea of how much traffic is being generated by your network.
- GNU/Linux 4.18.0-147.5.1.el8_1.x86_64 - CentOS Linux release 8.1.1911 (Core)
- PHP 7.2.11
- lighttpd/1.4.55
- jQuery 2.2.3
- JustGage 1.2.2
- Raphaël 2.1.4
* Using the user "http" as an example:
chown -R http:http <WEB DIRECTORY>/php-meter/
find <WEB DIRECTORY>/php-meter/ -type d -exec chmod -R 755 {} +
find <WEB DIRECTORY>/php-meter/ -type f -exec chmod -R 644 {} +
P.S. Sorry for the bad translation... Yes, I used Google Translate. 🙇