dgsh-monitor − monitor data on a pipe
dgsh-monitor
dgsh-monitor is a filter that reads lines from its standard input and for each line writes a JSON record containing the absolute timestamp (atime), the relative timestamp (rtime), the number of lines read (nlines), the number of bytes read (nbytes), and the actual data (data). The values printed are those that were in effect before the line’s first character was read (i.e. the number of bytes and lines starts at 0). The timestamps are printed as a decimal number of seconds (since epoch, January 1 1970, for the absolute one) with microsecond precision.
The command can be used in conjunction with dgsh-writeval for providing pipeline monitoring ports as a debugging aid.
dgsh(1), dgsh-writeval(1)
When providing data regarding a single record, such as that written to a store, it can be confusing to see all the numerical values as zero.
Diomidis Spinellis — <http://www.spinellis.gr>