PPP Connection Stats (PCS) is a perl script that give you dailly/monthly stats of pppd (from log file), tested on NetBSD/FreeBSD/Linux (debian)
Current Version: 0.3.5
Download : pcs.tgz
Output example:
[...]
24 Apr: disconnection at 21:23:29 after 24H00: received: 53Mo , sent: 19Mo
25 Apr: disconnection at 02:02:58 after 279 minutes: received: 7Mo , sent: 1Mo
25 Apr: disconnection at 02:39:29 after 31 minutes: received: 0Mo , sent: 0Mo
Total of 25 Apr: 2 disconnections: received: 7Mo , sent: 1Mo
26 Apr: disconnection at 03:11:24 after 24H00: received: 533Mo , sent: 26Mo
27 Apr: disconnection at 03:11:29 after 24H00: received: 1070Mo , sent: 47Mo
28 Apr: disconnection at 03:11:33 after 24H00: received: 417Mo , sent: 43Mo
29 Apr: disconnection at 00:20:41 after 21H21: received: 345Mo , sent: 25Mo
30 Apr: disconnection at 00:20:46 after 24H00: received: 133Mo , sent: 17Mo
Total of Apr: 31 disconnections: received: 5503Mo , sent 613Mo
- Total: 31 disconnections
- sent: 613Mo
- received: 5503Mo