russischer Abakus Informatik-Vollmer
    

Manual Page of cable-stats

NAME

cable-stats - Collect transfer statistics from a Motorola TV-Cable Modem

SYNOPSIS

cable-stats [-h] [-c community] [-i interval] [-p count] [host]

OPTIONS

If no host is given the host with the IP address 192.168.100.1 is used. The host may be given as IP address or as a host name.

-c community
--community community
Specify a community, default: public.
-i seconds
--interval seconds
Poll all seconds the network device, default 1. As values for seconds a floating number is accepted.
-p count
--polls counts
Get the information count time from the device and then stop. Default: infinite, until you press CTRL-C.
-h
--help
Print a brief help message and exits.
-m
--manual
Prints the manual page and exits.

DESCRIPTION

This script uses the SNMP (simple network monitor protocol) to read the number transfered bytes from a Motorola TV-Cabel modem. My model is a Motorola Surfboard SBV 4200E. See also http://broadband.motorola.com/consumers/products/sb4200/default.asp May be for others this script works as well.

After starting the script, it polls the network device using the snmpget command and displays the uploaded and downloaded traffic, until you stop it by pressing CTR-C

REQUIREMENTS

You need the net-snmp program suite see http://www.net-snmp.org.

EXAMPLE

cable-stats cable.me.home

reads information from host cable.me.home and displays the statistics until you press CTRL-C.

AUTHOR

Dr. Jürgen Vollmer <juergen.vollmer@informatik-vollmer.de> If you find this software useful, I would be glad to receive a postcard from you, showing the place where you're living.

HOMEPAGE

http://www.informatik-vollmer.de/software/cable-stats.html

COPYRIGHT

Copyright (C) 2004 Dr. Juergen Vollmer, Viktoriastrasse 15, D-76133 Karlsruhe, Germany.

LICENSE

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 2 of the License, or 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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

VERSION 1.0

Dr. Jürgen Vollmer (www.informatik-vollmer.de)
Diese Seite wurde am 13. Juli 2005 aktualisiert