Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: billium on April 09, 2016, 05:37:10 AM

Title: pipe viewer
Post by: billium on April 09, 2016, 05:37:10 AM
I would like to have pipe viewer for monitoring dd.  As it is no longer a standard extension I will investigate making an extension.  Before I do, I was wondering why it was dropped.  Is it for a technical reason or nobody had any use for it?
Thanks.
Title: Re: pipe viewer
Post by: Juanito on April 09, 2016, 06:29:05 AM
You could download it from here:

http://tinycorelinux.net/4.x/x86/tcz/pv.tcz

..try it out and, if it works, it can be copied to the current repo.
Title: Re: pipe viewer
Post by: andyj on April 09, 2016, 08:49:12 AM
Isn't that what "tee" is for?
Title: Re: pipe viewer
Post by: billium on April 09, 2016, 01:44:32 PM
Thanks very much for that Juanito, works great for me.
X86 up-to-date tinycore.

Looking at what tee does, it copies the o/p, whereas pv shows the progress through a pipe.
I did not know about tee and have never tried it. Tee also slows down the pipe, from what I have just read.
Title: Re: pipe viewer
Post by: andyj on April 09, 2016, 03:27:49 PM
Tee lets you see the pipe contents, which is what I was thinking you wanted. You can use it to get clever by tee'ing to a fifo then having another program read the fifo and do stuff, or just watch stuff go by while you are saving a log too.
Title: Re: pipe viewer
Post by: Juanito on April 10, 2016, 02:17:32 AM
pv copied to 7.x x86 repo