shell

Simple netstat bandwidth summary script

This is a simple script for showing the bandwidth usage on all your network interfaces using netstat. It displays the total usage per interface and an approximation of the usage per day and month.

Uptime 2 days 22:49, Sun Aug  9 15:46:25 CEST 2009 
Iface    Rx Total     Tx Total       Rx/day       Tx/day     Rx/month     Tx/month   Rx+Tx/month
             (GB)         (GB)         (MB)         (MB)         (GB)         (GB)         (GB)
lo0           .03          .03        10.86        10.86          .32          .32          .65
en1          2.48          .15       841.32        52.56        25.23         1.57        26.81

Tags: 

Subscribe to shell