- install
vnstat
andvnstati
- add cronjob
- create simple page on webserver that access created files
Created
July 3, 2016 09:50
-
-
Save philsch/9d9084311226acb0f63ab7c00fa9c2d5 to your computer and use it in GitHub Desktop.
Quick Server traffic monitoring (Ubuntu)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*/5 * * * * www vnstati -s -i eth0 -o /var/www/traffic/1.png | |
*/5 * * * * www vnstati -h -i eth0 -o /var/www/traffic/2.png | |
*/5 * * * * www vnstati -m -i eth0 -o /var/www/traffic/3.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment