> 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

-- 
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.org/UKTeam/

Reply via email to