[ubuntu-uk] ISPs
RichardA
pingvin at simaric.net
Wed Jul 30 01:07:41 BST 2008
> For bandwidth monitoring you could use a program that can handle SNMP like
> nagios.
Isn't Nagios overkill for something like this?
Typing these just before powering down the PC would save the date and
the amount of traffic for that session in a text file:
date +%F >> net_traffic.txt
ifconfig | grep -m 1 "RX bytes" >> net_traffic.txt
But this is incredibly ugly. Maybe someone could post a better command,
and which file to put it in to have it executed automatically at
shutdown?
-- Richard
More information about the ubuntu-uk
mailing list