chillibear.com

Console network bandwidth monitoring

Just found this rather nifty little network traffic monitoring tool. From the blurb…

“vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources”

http://humdi.net/vnstat/

Produces a selection of nice console graphs like this:

 em0  /  daily

    day         rx      |     tx      |  total
------------------------+-------------+----------------------------------------
   13.03.    121.94 MB  |  255.64 MB  |  377.58 MB   %%%%:::::::
   14.03.    273.05 MB  |  448.05 MB  |  721.10 MB   %%%%%%%%:::::::::::::
   15.
03. 354.90 MB | 473.44 MB | 828.34 MB %%%%%%%%%%%:::::::::::::: 16.03. 261.51 MB | 431.09 MB | 692.60 MB %%%%%%%%:::::::::::: 17.03. 237.22 MB | 450.11 MB | 687.33 MB %%%%%%%::::::::::::: 18.03. 252.09 MB | 413.70 MB | 665.79 MB %%%%%%%%:::::::::::: 19.03. 238.71 MB | 368.51 MB | 607.22 MB %%%%%%%::::::::::: 20.03. 225.79 MB | 302.64 MB | 528.42 MB %%%%%%::::::::: ------------------------+-------------+---------------------------------------- estimated 280 MB | 376 MB | 656 MB

Can also produce nice PNGs.

Written on 20 Mar 2009 and categorised in CommandLine and NIX, tagged as vnstat, monitoring, and ethernet

Home, Post archive

site copyright Eric Freeman

Valid XHTML 1.0 Strict