I'm looking into writing a small app (in Python) that monitors internet activity. The same idea as NetMeter except with a little more customisation (I need to be able to set off-peak time ranges).
Anyway, I've been having a little trouble researching these questions:
- Does Python have an API to monitor this?
- As far as data collecting goes I'll probably be recording values in bytes/min with the timestamp - is there something more sensible I'm missing here?