--- bmon-2.0.1.orig/man/bmon.1 +++ bmon-2.0.1/man/bmon.1 @@ -1,4 +1,4 @@ -.TH bmon 8 "Oct 27, 2004" "Bandwidth Monitor" +.TH bmon 1 "Oct 27, 2004" "Bandwidth Monitor" .SH NAME bmon \- Portable bandwidth monitor and rate estimator .SH SYNOPSIS @@ -97,7 +97,7 @@ .TP .B \-w Enable signal driven output intervals. The output module will -only be invoked upon receiving of SIGUSR1. Use bmon -S - to +only be invoked upon receiving of SIGUSR1. Use bmon \-S \- to send the signal to a running bmon instance in signal driven mode. .TP .B \-S @@ -125,7 +125,7 @@ .TP .RS .NF -bmon -i netlink:help +bmon \-i netlink:help .FI .RE @@ -171,7 +171,7 @@ .TP \fBnetstat\fR (POSIX) Provides limited interface statistics on almost any -POSIX operating system by invoking netstat -i -a. Only +POSIX operating system by invoking netstat \-i \-a. Only use this as last hope. .TP @@ -209,7 +209,7 @@ .TP .RS .NF -bmon -o ascii:help +bmon \-o ascii:help .FI .RE @@ -325,51 +325,51 @@ files in the specified order: /etc/bmon.conf, $HOME/.bmonrc. None of the above files will be read if the path to the -configuration file was specified using the -f option. +configuration file was specified using the \-f option. Configuration possibilities: \fBinput\fR \fI\fR .br .ti +7 -Specify primary input module (-i), see INPUT MODULES. +Specify primary input module (\-i), see INPUT MODULES. \fBsecondary_input\fR \fI\fR .br .ti +7 -Specify secondary input modules (-I), see INPUT MODULES. +Specify secondary input modules (\-I), see INPUT MODULES. \fBoutput\fR \fI\fR .br .ti +7 -Specify primary output module (-o), see OUTPUT MODULES. +Specify primary output module (\-o), see OUTPUT MODULES. \fBsecondary_output\fB \fI\fR .br .ti +7 -Specify secondary output modules (-O), see OUTPUT MODULES. +Specify secondary output modules (\-O), see OUTPUT MODULES. \fBpolicy\fB \fI\fR .br .ti +7 -Set interface acceptance policy (-p), see INTERFACE SELECTION. +Set interface acceptance policy (\-p), see INTERFACE SELECTION. \fBread_interval\fB \fI\fR .br .ti +7 Set reading interval in which the input module will be called -(-r). +(\-r). \fBsleep_time\fB \fI\fR .br .ti +7 Set sleeping interval between calls to output short interval -callbacks for interactive output modules. (-s) +callbacks for interactive output modules. (\-s) \fBshow_all\fR .br .ti +7 -Include interface even if their status is down. (-a) +Include interface even if their status is down. (\-a) \fBinclude\fR \fI\fR .br @@ -440,15 +440,15 @@ and eth1: .RS .NF -\fBbmon -i eth0,eth1 -o curses\fP +\fBbmon \-i eth0,eth1 \-o curses\fP .FI .RE To run bmon in acii mode printing the detailed diagram -with fixed y-axis unit: +with fixed y\-axis unit: .RS .NF -\fBbmon -o 'ascii:diagram=detailed;ynit=kb'\fP +\fBbmon \-o 'ascii:diagram=detailed;ynit=kb'\fP .FI .RE @@ -457,7 +457,7 @@ and y axis: .RS .NF -\fBbmon -s -o 'ascii:diagram=graph;fgchar=#;bgcar=_;xunit=min'\fP +\fBbmon \-s \-o 'ascii:diagram=graph;fgchar=#;bgcar=_;xunit=min'\fP .FI .RE @@ -465,7 +465,7 @@ distribute the statistic over the network: .RS .NF -\fBbmon -o null -O distribution\fP +\fBbmon \-o null \-O distribution\fP .FI .RE @@ -473,7 +473,7 @@ show it in curses mode: .RS .NF -\fBbmon -I distribution:multicast -o curses\fP +\fBbmon \-I distribution:multicast \-o curses\fP .FI .RE @@ -482,7 +482,7 @@ the destination is not available: .RS .NF -\fBbmon -i null -I distribution:multicast -o null -O 'distribution:ip=10.0.0.1;errignore;forward'\fP +\fBbmon \-i null \-I distribution:multicast \-o null \-O 'distribution:ip=10.0.0.1;errignore;forward'\fP .FI .RE @@ -491,12 +491,12 @@ statistics: .RS .NF -\fBbmon -I distribution:multicast -o null -O html:path=/var/istats/\fP +\fBbmon \-I distribution:multicast \-o null \-O html:path=/var/istats/\fP .FI .RE .SH KNOWN ISSUES -The curses output modules doesn't work properly on NetBSD < 2.0 because getch() cannot be set to be non-blocking. +The curses output modules doesn't work properly on NetBSD < 2.0 because getch() cannot be set to be non\-blocking. sysctl input segfaults on sparc64 OpenBSD. --- bmon-2.0.1.orig/debian/changelog +++ bmon-2.0.1/debian/changelog @@ -0,0 +1,19 @@ +bmon (2.0.1-3) unstable; urgency=low + + * debian/bmon.desktop added + + -- Reto Schuettel Tue, 18 Jan 2005 22:52:08 +0100 + +bmon (2.0.1-2) unstable; urgency=low + + * debian/rules + - removed unneeded debhelper scripts + + -- Reto Schuettel Tue, 18 Jan 2005 21:53:23 +0100 + +bmon (2.0.1-1) unstable; urgency=low + + * Initial Release. Closes: #286764. + + -- Reto Schuettel Tue, 21 Dec 2004 17:09:06 +0100 + --- bmon-2.0.1.orig/debian/compat +++ bmon-2.0.1/debian/compat @@ -0,0 +1 @@ +4 --- bmon-2.0.1.orig/debian/control +++ bmon-2.0.1/debian/control @@ -0,0 +1,20 @@ +Source: bmon +Section: net +Priority: optional +Maintainer: Reto Schuettel +Build-Depends: debhelper (>= 4.0.0), libncurses5-dev (>= 5.4-4) +Standards-Version: 3.6.1 + +Package: bmon +Architecture: any +Depends: ${shlibs:Depends} +Description: portable bandwidth monitor and rate estimator + bmon is a commandline bandwidth monitor which supports various output + methods including an interactive curses interface, lightweight HTML output but + also simple ASCII output. + . + Statistics may be distributed over a network using multicast or unicast and + collected at some point to generate a summary of statistics for a set of + nodes. + . + Homepage: http://suug.ch/~tgr/bmon/ --- bmon-2.0.1.orig/debian/rules +++ bmon-2.0.1/debian/rules @@ -0,0 +1,81 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# +# Uncomment this to turn on verbose mode. +##export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + + CFLAGS="$(CFLAGS)" ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man + +build: build-stamp + +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + $(MAKE) distclean + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install prefix=$(CURDIR)/debian/bmon/usr + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_install + dh_installchangelogs ChangeLog + dh_installdocs + dh_installmenu + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- bmon-2.0.1.orig/debian/bmon.menu +++ bmon-2.0.1/debian/bmon.menu @@ -0,0 +1 @@ +?package(bmon):needs="text" section="Apps/Net" title="bmon" command="/usr/bin/bmon" --- bmon-2.0.1.orig/debian/bmon.desktop +++ bmon-2.0.1/debian/bmon.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=bmon +Comment=Bandwidth monitor +Comment[en]=Bandbreiten-Monitor +Exec=bmon +Terminal=true +Type=Application +Categories=Application;Network; --- bmon-2.0.1.orig/debian/bmon.dirs +++ bmon-2.0.1/debian/bmon.dirs @@ -0,0 +1 @@ +etc/ --- bmon-2.0.1.orig/debian/bmon.install +++ bmon-2.0.1/debian/bmon.install @@ -0,0 +1,2 @@ +etc/bmon.conf etc/ +debian/bmon.desktop usr/share/applications --- bmon-2.0.1.orig/debian/copyright +++ bmon-2.0.1/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Reto Schuettel on +Tue, 21 Dec 2004 17:09:06 +0100. + +It was downloaded from http://www.suug.ch/~tgr/bmon/ + +Upstream Author: Thomas Graf + +Copyright (c) 2001-2004 Thomas Graf + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. --- bmon-2.0.1.orig/debian/bmon.docs +++ bmon-2.0.1/debian/bmon.docs @@ -0,0 +1,2 @@ +BUGS +TODO