Need software to monitor network usage
I use a broadband ADSL service that has a monthly usage cap. As my Linux machine generates most of the traffic, I would like to use it to monitor my usage.
Can anyone suggest some software that would be able to monitor my network usage? Regards David Gee |
The newer ADSL modems hava a web interface that you can use to configure the modem. If you have one of these, somewhere in all those pages is a running tally of bytes uploaded/dowwnloaded since the last reset. Usually you can also reset the counters to zero (eg at the beginning of your accounting period). For my zoom X5, I click on Advanced Settings, then ATM Status, to see a whole load of statistics.
This has the advantage that it monitors your connection, rather than one specific machine. HTH |
Hadn't thought of that. The router does have a stats page, but it only shows packet counts, not byte counts, and as packets vary in size that's not overly useful, so I think it may have to be some software after all.
|
Simple solution
I have this in /etc/ppp/ip-down.local:
Code:
#!/bin/sh I use this command to display the totals: Code:
#!/bin/sh Code:
$ netStats Jun Peter |
Neat script Peter, and rather good for a "First post"! I am sure others will find it useful.
Welcome to LQ! |
Post Firestarter script
After I installed Firestarter the ip-down.local script stopped working, probably because firestarter destroys ppp0 when it closes down.
Here is the latest version: Code:
#!/bin/sh |
All times are GMT -5. The time now is 05:23 AM. |