-
Notifications
You must be signed in to change notification settings - Fork 23
progress_meter
Martin Asser Hansen edited this page Oct 1, 2015
·
6 revisions
#summary Count records in the stream and prints a dot for each number of records and a record count per 100 dots.
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.
... | progress_meter [[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.
To monitor the progress of records processed we use progress_meter like this:
... | progress_meter
0 ....................................................................................................
10000 ....................................................................................................
20000 ............................................................................
Martin Asser Hansen - Copyright (C) - All rights reserved.
September 2010
GNU General Public License version 2
http://www.gnu.org/copyleft/gpl.html
progress_meter is part of the Biopieces framework.