Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pipemeter(1) [debian man page]

PIPEMETER(1)						      General Commands Manual						      PIPEMETER(1)

NAME
pipemeter - measure speed of data going through a pipe/redirection SYNOPSIS
pipemeter [ -alV ] [ -s size ] [ -b block_size ] [ -m max_block_size ] [ -i interval ] [ -f infile -f infile2 ] infile infile2 ... DESCRIPTION
pipemeter simply takes input on stdin, and redirects it to its stdout. While doing this, it measures how fast the data is moving through it. Alternatively, with the -s parameter, shows a progress bar as data is piped through it. All output generated by pipemeter is written to stderr. While running in progress mode, pipemeter will display the ETA (Estimated Time of Arrival). When exiting, it will change this field to show the elapsed time for the program. In rate-only mode, it will just show elapsed time. Note that as of pipemeter 0.8, Adaptive Block Sizing is used to speed up the movement of data through it. It will increase, or sometimes decrease, the block size in an attempt to find the one that works best for the combination of input and output. This also helps it deal better with, for instance, a temporarily busy disk. You can use -a to turn it off. -s, --size size Sets the size of the input, and turns on the progress bar. -b, --blocksize block_size Sets the size of blocks, in bytes, to move through the program at once. Default is 8192. A suffix of K means Kilobytes(x*1024) means Megabytes(x*1024*1024), and G means Gigabytes(x*1024*1024*1024). -m, --maxblock max_block_size Sets the maxium block size for adaptive block sizing. Default is 8M. -i, --interval interval Specify the number of seconds between updates on the speed and/or progress bar. -f, --file infile infile specifies a file to be read instead of stdin. It will also automatically turn on the progress bar if a size can be deter- mined. Multiple occurances of -f will read the files in the order they are specified on the cmdline, and sizes will be added to eachother. Note that this option remains for backward compatibility, it is far simpler to just specify the input files without options. -F, --list listfile specifies a file to read in the list of input files from. Each line is a path to a file, terminated by a newline. -r, --report report only mode. This causes the program to suppress outputting/calculating while running. It will print out only one line. -a, --autooff turn off adaptive block sizing. Sometimes ABS can use insane amounts of RAM, such as when reading and writing to RAM disks. -V, --version Prints a version number and exits. -l, --log Turns on logging mode. Uses only newlines, no returns. AUTHOR
Written by Clint Byrum <cbyrum@spamaps.org> COPYRIGHT
Copyright (C) 2006 Clint Byrum This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PAR- TICULAR PURPOSE. PIPEMETER(1)

Check Out this Related Man Page

speedometer(1)							   User Commands						    speedometer(1)

NAME
speedometer - measure and display the rate of data across a network connection SYNOPSIS
speedometer [options] tap [[-c] tap] ... DESCRIPTION
Monitor network traffic or speed/progress of a file transfer. At least one tap option (-f, -rx, -tx) must be entered. Option -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. OPTIONS
-b Use old blocky display instead of smoothed display even when UTF-8 encoding is detected. -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. -i interval Interval in seconds. Examples: 5 or 0.25". Default is 1. -p Use plain-text display (one tap only). -rx iface Display bytes received on network interface. -tx iface Display bytes transmitted on network interface. -z Report zero size on files that don't exist instead of waiting for them to be created 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 ENVIRONMENT
None. FILES
None. SEE ALSO
htop(1) iotop(1) scp(1) top(1) vmstat(1) AUTHORS
Program was written by Ian Ward <ian.ward@excess.org> This manual page was written by Jari Aalto <jari.aalto@cante.net>. Released under license GNU GPL version 2 or (at your option) any later version. For more information about license, visit <http://www.gnu.org/copyleft/gpl.html>. speedometer 2011-12-10 speedometer(1)
Man Page