debian/0000755000000000000000000000000011670576167007206 5ustar debian/upstream.changelog0000644000000000000000000001526311670576167012726 0ustar changeset: 40:2067ef9d23c1 tag: tip user: Ian Ward date: Thu Dec 08 20:41:32 2011 -0500 summary: changelog corrections changeset: 39:21d607ac414c user: Ian Ward date: Thu Dec 08 16:42:16 2011 -0500 summary: Added tag release-2.8 for changeset 1ae5148198f5 changeset: 38:1ae5148198f5 tag: release-2.8 user: Ian Ward date: Thu Dec 08 16:25:47 2011 -0500 summary: update changelog changeset: 37:3dc6002e6722 user: Ian Ward date: Thu Dec 08 16:11:17 2011 -0500 summary: install as bin/speedometer as well changeset: 36:445d18192908 user: Ian Ward date: Thu Dec 08 16:03:04 2011 -0500 summary: .hgignore changeset: 35:d837a82b78aa user: Ian Ward date: Tue Dec 06 23:44:04 2011 -0500 summary: setup script changeset: 34:14a68e21631b user: Ian Ward date: Tue Dec 06 23:27:28 2011 -0500 summary: sim_multi fix for -S flag change changeset: 33:6d7d78269c4f user: Ian Ward date: Tue Dec 06 19:38:14 2011 -0500 summary: new changes in 2.8 changeset: 32:2f35942d0885 user: Ian Ward date: Tue Dec 06 16:46:44 2011 -0500 summary: cobble together a change log from past release announcements and blog posts changeset: 31:a82142185b08 user: Ian Ward date: Tue Dec 06 10:50:41 2011 -0500 summary: make logarithmic LHS scale work again changeset: 30:a12ea1be5d7e user: Ian Ward date: Mon Dec 05 22:04:58 2011 -0500 summary: generate a useful scale for linear graphs changeset: 29:86ebf7b56bce user: Ian Ward date: Mon Dec 05 21:20:46 2011 -0500 summary: first partially working linear scale changeset: 28:3a36cab9b59d user: Ian Ward date: Mon Dec 05 21:10:22 2011 -0500 summary: clean up trailing whitespace changeset: 27:499e350bb19d user: Ian Ward date: Mon Dec 05 21:09:50 2011 -0500 summary: create stub and document setting for linear mode changeset: 26:4f8c81bd4d96 user: Ian Ward date: Fri Jul 08 14:26:49 2011 -0400 summary: use a weighted moving average for "curved" display changeset: 25:f2f3774d7b52 user: Ian Ward date: Sat Nov 13 15:50:24 2010 -0500 summary: move simlated data option to -S (bits/s is now -s) changeset: 24:c40d77f36bc8 user: Ian Ward date: Sat Nov 13 15:42:38 2010 -0500 summary: options to set min and max values on chart changeset: 23:0eb5e429428f user: Ian Ward date: Fri Nov 12 23:33:38 2010 -0500 summary: accept -r/-t in place of -rx/-tx changeset: 22:177b37fd886d user: Ian Ward date: Fri Nov 12 23:23:19 2010 -0500 summary: bits/s option (quick hack) changeset: 21:c7e2832a98e3 user: Ian Ward date: Fri Nov 12 20:41:16 2010 -0500 summary: fix for spacing of readable speed changeset: 20:f6bb10210cd7 user: Ian Ward date: Fri Nov 12 20:36:32 2010 -0500 summary: don't support ancient python changeset: 19:e1f976e61a52 user: Ian Ward date: Fri Nov 12 20:30:27 2010 -0500 summary: group graph scale information into a single list changeset: 18:1bf4acc3caf6 user: Ian Ward date: Fri Nov 12 20:29:42 2010 -0500 summary: fix for labels and longer units changeset: 17:7da58ff974c5 user: Ian Ward date: Fri Nov 12 20:01:16 2010 -0500 summary: correct notation (MiB, GiB, etc.) changeset: 16:38f6ddb07389 user: Ian Ward date: Mon Nov 08 14:58:09 2010 -0500 summary: Added tag release-2.7 for changeset 607187fa1077 changeset: 15:607187fa1077 tag: release-2.7 user: Ian Ward date: Sun Nov 07 21:38:32 2010 -0500 summary: only exit on Q/ESC/^C changeset: 14:c1becf144762 user: Ian Ward date: Sun Nov 07 13:25:11 2010 -0500 summary: neutral, light-background high colour palette changeset: 13:5607997405d0 user: Ian Ward date: Sat Nov 06 12:54:09 2010 -0400 summary: simulated speedometer run scripts changeset: 12:398841069dd6 user: Ian Ward date: Sat Nov 06 12:53:46 2010 -0400 summary: start of high colour support, fixes for simulations changeset: 11:ad6eb23fdaaa user: Ian Ward date: Wed Nov 03 18:57:00 2010 -0400 summary: urwid.Pile now supports box widgets, drop similar custom widget changeset: 10:3d0af3f5aed8 user: Ian Ward date: Wed Nov 03 18:06:10 2010 -0400 summary: use urwid.MainLoop changeset: 9:dddf286860e5 user: Ian Ward date: Wed Nov 03 17:52:49 2010 -0400 summary: add monochrome mode option changeset: 8:e7bb813e0d21 user: Ian Ward date: Wed Nov 03 17:36:59 2010 -0400 summary: make colours look better with light and dark terminals changeset: 7:ccda212032d1 user: Ian Ward date: Wed Nov 03 17:21:04 2010 -0400 summary: fix for debian bug#583573 changeset: 6:1781ffcd8bff user: Ian Ward date: Wed Nov 03 17:17:27 2010 -0400 summary: pep 8: no spaces inside parens changeset: 5:8f4d5db48ab3 user: Ian Ward date: Wed Nov 03 17:15:02 2010 -0400 summary: pep 8: use spaces instead of tabs changeset: 4:d221112164f0 user: Norman Rasmussen date: Fri Dec 25 10:30:08 2009 -0500 summary: option to quit on file completion changeset: 3:d38c3a022781 user: Ian Ward date: Thu May 29 23:27:43 2008 -0400 summary: Added tag release-2.6 for changeset 49738b2e1d43 changeset: 2:49738b2e1d43 tag: release-2.6 user: Ian Ward date: Sun May 25 20:12:21 2008 -0400 summary: increase scale to > 1GB/s, hide ^C tracebacks, by default use plain text mode when urwid unavailable, make blocky and smoothed modes look more similar, fix simulation and file progress bugs changeset: 1:4e270782145a user: Ian Ward date: Sun Apr 15 16:51:45 2007 -0400 summary: import speedometer 2.5 code changeset: 0:e40453fb9a33 user: Ian Ward date: Mon Jan 29 21:58:34 2007 -0500 summary: import speedometer 2.4 code debian/pod2man.mk0000644000000000000000000000334611670576167011105 0ustar # pod2man.mk -- Makefile portion to convert *.pod files to manual pages # # Copyright information # # Copyright (C) 2008-2010 Jari Aalto # # 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 # (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 . # # Description # # Convert *.pod files to manual pages. Write this to 'install' # target: # # install: build $(MANPAGE) ifneq (,) This makefile requires GNU Make. endif # This variable *must* be set when called PACKAGE ?= package # Optional variables to set MANSECT ?= 1 PODCENTER ?= User Commands PODDATE = $$(date "+%Y-%m-%d") # Directories MANSRC = MANDEST = $(MANSRC) MANPOD = $(MANSRC)$(PACKAGE).$(MANSECT).pod MANPAGE = $(MANDEST)$(PACKAGE).$(MANSECT) POD2MAN = pod2man POD2MAN_FLAGS = --utf8 makeman: $(MANPAGE) $(MANPAGE): $(MANPOD) # make target - create manual page from a *.pod page podchecker $(MANPOD) LC_ALL= LANG=C $(POD2MAN) $(POD2MAN_FLAGS) \ --center="$(PODCENTER)" \ --date="$(PODDATE)" \ --name="$(PACKAGE)" \ --section="$(MANSECT)" \ $(MANPOD) \ | sed 's,[Pp]erl v[0-9.]\+,$(PACKAGE),' \ > $(MANPAGE) && \ rm -f pod*.tmp # End of of Makefile part debian/clean0000644000000000000000000000001311670576167010205 0ustar debian/*.1 debian/source/0000755000000000000000000000000011670576167010506 5ustar debian/source/format0000644000000000000000000000001411670576167011714 0ustar 3.0 (quilt) debian/speedometer.manpages0000644000000000000000000000001311670576167013231 0ustar debian/*.1 debian/changelog0000644000000000000000000000630011670576167011057 0ustar speedometer (2.8-1) unstable; urgency=low [Jari Aalto] * New upstream release - Linear scale (Closes: #415397). * debian/copyright - (Format): Update URL. * debian/rules - (get-changelog): Add more commentary. * debian/upstream.changelog - Update. [tony mancill] * Add python-setuptools to Build-Depends -- Jari Aalto Fri, 09 Dec 2011 14:30:46 +0200 speedometer (2.7-1) unstable; urgency=low * New upstream release - Fix Python 2.5.4 DeprecationWarning: The popen2 module is deprecated (Closes: #583573). * debian/compat - Update to 8. * debian/control - (Build-Depends): Update to debhelper 8. - (Standards-Version): Update to 3.9.2. * debian/copyright - Update to DEP5. - (Files: *): Correct license to LGPL 2.1. * debian/*.mk - Minor updates. * debian/speedometer.1.pod - (top level): Proper starting comment. - (DESCRIPTION): Improve documentation to note that traffic must be generated (Closes: #583576). - (EXAMPLES): Adjust indentation. - (SEE ALSO): Add more programs. - (AUTHORS): Adjust wording. * debian/rules - (PKGDIR): New. - (get-changelog): New. - Cleanup rules handled by dh(1). -- Jari Aalto Thu, 21 Apr 2011 19:34:18 +0300 speedometer (2.6-3) unstable; urgency=low * debian/control - (Depends): Update to python-urwid (>= 0.9.9.1), because (0.9.9) is not compatible (Closes: #569070). Update to debhelper 7.1 due to oveerrides in debian/rules - (Standards-Version): update to 3.8.4. * debian/rules: - (binary-indep): Remove unused commands. - (install): remove target. - (override_dh_auto_install): New target. - (.PHONY): cleanup targets. -- Jari Aalto Mon, 22 Feb 2010 16:18:59 +0200 speedometer (2.6-2) unstable; urgency=low * Move to packaging format: 3.0 (quilt). * debian/clean - Move content from 'rules' for dh(1) to use. * debian/compat - Update to 7. * debian/control - (Build-Depends): update to debhelper 7. - (Description): convert examples to bullets. - (Depends): add ${misc:Depends} for debhelper, add version to dependency python-urwid (>= 0.9.1). - (Standards-Version): update to 3.8.3 * debian/copyright - (GPL): Use FSF URL (FSF recommendation). * debian/rules - Remove rules obsoleted by dh(1). * debian/source/format - New file. * debian/speedometer.1 - Delete file generated from *.pod source (see debian/rules::man). * debian/speedometer.manpages - Move content from 'rules' for dh(1) to use. -- Jari Aalto Sat, 19 Dec 2009 13:52:03 +0200 speedometer (2.6-1) unstable; urgency=low * New upstream version. (Closes: #473420). * debian/changelog - Adjust indentation and layout. - Change time to ISO 8601 notation. * debian/control - (Vcs-*): New fields. - (Homepage): move to separate field. - (Standards-Version): Update to 3.8.0. -- Jari Aalto Sat, 18 Oct 2008 01:07:47 +0300 speedometer (2.4-1) unstable; urgency=low * Initial release (Closes: #404671) -- Jari Aalto Sat, 13 Jan 2007 20:34:25 +0200 debian/copyright0000644000000000000000000000415311670576167011144 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 X-Format: http://dep.debian.net/deps/dep5 Upstream-Name: speedometer Upstream-Contact: Ian Ward Source: http://freshmeat.net/projects/speedometer X-Source: http://excess.org/speedometer X-Upstream-Vcs-Browser: https://excess.org/hg/speedometer X-Upstream-Vcs-Hg: https://excess.org/hg/speedometer X-Upstream-Bugs: Files: * Copyright: 2001-2011 Ian Ward License: LGPL-2.1+ Files: debian/* Copyright: 2007-2011 Jari Aalto License: GPL-2+ License: GPL-2+ This package 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 (at your option) any later version. . This package 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 . . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This package 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 Library 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 . . On Debian systems, the complete text of the GNU Library General Public License can be found in "/usr/share/common-licenses/LGPL-2.1". debian/compat0000644000000000000000000000000211670576167010404 0ustar 8 debian/control0000644000000000000000000000147711670576167010622 0ustar Source: speedometer Section: utils Priority: optional Maintainer: Jari Aalto Build-Depends: debhelper (>= 8), python-setuptools Standards-Version: 3.9.2 Vcs-Browser: http://git.debian.org/?p=collab-maint/speedometer.git Vcs-Git: git://git.debian.org/git/collab-maint/speedometer.git Package: speedometer Architecture: all Depends: ${misc:Depends}, python (>= 2.3), python-urwid (>= 0.9.9.1) Homepage: http://excess.org/speedometer Description: measure and display the rate of data across a network connection Monitor network traffic or speed/progress of a file transfer. The program can be used for cases like: . - how long it will take for 38 MiB transfer to finish - how quickly is another transfer going - how fast is the upstream on this ADSL line - how fast is data written to a filesystem. debian/speedometer.1.pod0000644000000000000000000000653011670576167012371 0ustar # Copyright # # Copyright (C) 2007-2010 Jari Aalto # # 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 # (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 . # # Description # # To learn what TOP LEVEL sections to use in manual pages, # see POSIX/Susv standard and "Utility Description Defaults" at # http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11 # # This is manual page in Perl POD format. Read more at # http://perldoc.perl.org/perlpod.html or run command: # # perldoc perlpod | less # # To check the syntax: # # podchecker *.pod # # Create manual page with command: # # pod2man PAGE.N.pod > PAGE.N =pod =head1 NAME speedometer - measure and display the rate of data across a network connection =head1 SYNOPSIS speedometer [options] tap [[-c] tap] ... =head1 DESCRIPTION Monitor network traffic or speed/progress of a file transfer. At least one tap option (B<-f>, B<-rx>, B<-tx>) must be entered. Option B<-c> starts a new column, otherwise taps are piled vertically. Note: before you use the program, satrt generating traffic by transferring files in/out e.g. with scp(1) in the network you're measuring. =head1 OPTIONS =over 4 =item B<-b> Use old blocky display instead of smoothed display even when UTF-8 encoding is detected. =item B<-f filename [size]> Display download speed with progress bar. This option must be used if directly following another file tap without an expected size specified. =item B<-i interval> Interval in seconds. Examples: 5 or 0.25". Default is 1. =item B<-p> Use plain-text display (one tap only). =item B<-rx iface> Display bytes received on network interface. =item B<-tx iface> Display bytes transmitted on network interface. =item B<-z> Report zero size on files that don't exist instead of waiting for them to be created =back EXAMPLES How long it will take for my 38MB transfer to finish? speedometer favorite_episode.rm $(( 38 * 1024 * 1024 )) How quickly is another transfer going? speedometer dl/big.avi How fast is this LAN? host-a$ cat /dev/zero | nc -l -p 12345 host-b$ nc host-a 12345 > /dev/null host-b$ speedometer -rx eth0 How fast is the upstream on this ADSL line? speedometer -tx ppp0 How fast can I write data to my filesystem? (with at least 1GB free) dd bs=1000000 count=1000 if=/dev/zero of=bigfile & speedometer bigfile =head1 ENVIRONMENT None. =head1 FILES None. =head1 SEE ALSO htop(1) iotop(1) scp(1) top(1) vmstat(1) =head1 AUTHORS Program was written by Ian Ward This manual page was written by Jari Aalto . Released under license GNU GPL version 2 or (at your option) any later version. For more information about license, visit . =cut debian/rules0000755000000000000000000000115711670576167010272 0ustar #!/usr/bin/make -f PACKAGE = speedometer BIN = $(PACKAGE).py PKGDIR = $(shell pwd)/debian/$(PACKAGE) CHANGELOG = debian/upstream.changelog URL = https://excess.org/hg/speedometer # Run manually when package is updated # # NOTE: 2011-12-09 hg des *not* yet support remote URLs, so this command # does not work yet. (1) clone upstream repo (2) get "hg log" from there. get-changelog: hg log $(URL) > $(CHANGELOG) man: $(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman override_dh_auto_install: man install -D -m 755 $(BIN) $(PKGDIR)/usr/bin/$(PACKAGE) %: dh $@ .PHONY: man get-changelog # End of file debian/watch0000644000000000000000000000010411670576167010232 0ustar version=3 http://excess.org/speedometer/ .*speedometer-(.*)\.tar.gz