Skip to content
Martin Asser Hansen edited this page Oct 2, 2015 · 6 revisions

Biopiece: progress_meter

Description

progress_meter count the number of records in the stream and outputs a dot to STDERR for a fixed number of records that can be specified with the -c switch. For each 100 dots the number of processed records is output on a new line.

Usage

... | progress_meter [options]

Options

[-?         | --help]               #  Print full usage description.
[-x         | --no_stream]          #  Do not emit records.
[-c <uint>  | --count=<uint>]       #  Number of records per dot    -  Default=1000
[-I <file!> | --stream_in=<file!>]  #  Read input from stream file  -  Default=STDIN
[-O <file>  | --stream_out=<file>]  #  Write output to stream file  -  Default=STDOUT
[-v         | --verbose]            #  Verbose output.

Examples

To monitor the progress of records processed we use progress_meter like this:

... | progress_meter

    0 ....................................................................................................
10000 ....................................................................................................
20000 ............................................................................

See also

count_records

Author

Martin Asser Hansen - Copyright (C) - All rights reserved.

mail@maasha.dk

September 2010

License

GNU General Public License version 2

http://www.gnu.org/copyleft/gpl.html

Help

progress_meter is part of the Biopieces framework.

http://www.biopieces.org

Clone this wiki locally