WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pipe viewer  (Read 3216 times)

Offline billium

  • Newbie
  • *
  • Posts: 6
pipe viewer
« on: April 09, 2016, 02: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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pipe viewer
« Reply #1 on: April 09, 2016, 03: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.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: pipe viewer
« Reply #2 on: April 09, 2016, 05:49:12 AM »
Isn't that what "tee" is for?

Offline billium

  • Newbie
  • *
  • Posts: 6
Re: pipe viewer
« Reply #3 on: April 09, 2016, 10:44:32 AM »
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.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: pipe viewer
« Reply #4 on: April 09, 2016, 12: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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pipe viewer
« Reply #5 on: April 09, 2016, 11:17:32 PM »
pv copied to 7.x x86 repo