General discussion

Locked

vnstat is a useful linux command but ...

By lugligino ·
vnstat is a great linux command. It monitores with great detail the network traffic. If you install it a daemon counts the byte in Rx/Tx and put them in a database that you can consult in simple ways like for example
vnstat -h -i eth0
that shows the last 24 hours traffic through eth0 interface.
My issue is that if I execute the command at 9:01 o'clock the output starts from 10:00 of the previous day, so I can't see the traffic from 9:01 to 9:59 of the previous day. This is annoying expecially if I have some limitations in the 24-hour traffic and I use to have a lot of traffic at the same hour every day because, in this case, vnstat -h gives always an answer really lower than true, practically unexact.
A simple hint: vnstat -h should cover 25 hour and not 24.
Another good option, in this case a lot more useful, should be the one that shows the total traffic in the last n hours. It should be very useful, isn't it?

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Linux Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums