internode-quota-check - Usage information for Internode accounts
internode-quota-check
Include a day-by-day historical summary.
Print the manual page and exit.
Print a brief help message and exit.
This program retrieves quota usage information for Internode ADSL accounts, for example,
$ internode-quota-check
mark: 21.583 GB (27.0%) and 5.1 days (16.5%) left of 80 GB, 24 Mb/s plan.
suter: 35.036 GB (63.7%) and 5.1 days (16.5%) left of 55 GB, 24 Mb/s plan.
Where this program gets the usernames and passwords. This program does nothing else with these files, nor email or ftp for that matter.
If you are using fetchmail for your Internode email, it should work.
If you have multiple accounts defined, then this program will display the quota usage for each account, one per line.
This program understands implicit usernames and using your .netrc file if the details aren't all in the .fetchmailrc.
If you are not using fetchmail for your Internode email, then put a comment into this file, creating it if needed:
# poll mail.internode.on.net user "example" password "secret"
This program will honour the FETCHMAILHOME environment variable, that is, read $FETCHMAILHOME/fetchmailrc instead of the normal one on your home directory. Refer to fetchmail(1) for more details.
Where this program stores it's cache. If the data is older than 90 minutes, or the file missing, this program fetches fresh data from Internode and updates this file.
If this program exits with a zero exit status and the correct output is on standard output. Nothing else is ever printed to standard output.
This program will exit with a non-zero exit status if there was a fatal error. Both fatal and non-fatal errors will cause output on standard error.
Thanks to Mark Newton at Internode who created the interface to the billing system.
Thanks to Trent W. Buck for improvements making the single line of output more understandable and readily usable.
Thanks to Michael T. Pope for letting me know about the alternative fetchmailrc location.
http://www.internode.on.net/support/tools/usage_meters/
Mark Suter <suter@humbug.org.au>
internode-quota-check - Usage information for your Internode account Copyright (C) 2007 Mark Suter <suter@humbug.org.au>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.