Hello everyone!
I'm thinking about showing the monthly traffic usage in the bottom status bar.
This code works just fine:
Code:
vnstat -m | grep "`LC_ALL=C date +"%b '%y"`" | awk '{print $9 $10}'
Is there any possibility to show that in the statusbar?
I already found the place in index.html, but since my html/php/js knowledge isn't that good, I've no idea where to add it.
A hint would be nice!
I'm thinking about showing the monthly traffic usage in the bottom status bar.
This code works just fine:
Code:
vnstat -m | grep "`LC_ALL=C date +"%b '%y"`" | awk '{print $9 $10}'
Is there any possibility to show that in the statusbar?
I already found the place in index.html, but since my html/php/js knowledge isn't that good, I've no idea where to add it.
A hint would be nice!