Created
November 14, 2012 18:30
-
-
Save elecnix/4073877 to your computer and use it in GitHub Desktop.
Get DD-WRT daily traffic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inspired by: http://www.dd-wrt.com/wiki/index.php/WAN_Traffic_by_Month | |
ssh root@192.168.1.1 "nvram get traff-$(date +%m-%Y -d '-1 day')" > ~/consommation/`date +%Y-%m -d '-1 day'`.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment