Re: Trying to understand man page for dd

2017-06-03 Thread Curt
On 2017-06-01, Ulf Volmer wrote: > On 05/28/2017 02:05 PM, JPlews wrote: > $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid > >> have a look at status=progress > > This option does not exist in debian stable. Would 'pv' help? dd if=/dev/zero | pv |

Re: Trying to understand man page for dd

2017-06-01 Thread Ulf Volmer
On 05/28/2017 02:05 PM, JPlews wrote: >>> $ dd if=/dev/zero of=/dev/null& pid=$! >>> $ kill -USR1 $pid; sleep 1; kill $pid > have a look at status=progress This option does not exist in debian stable. best regards Ulf

Re: Trying to understand man page for dd

2017-05-31 Thread mbroe
David writes: > If you browse to explainshell.com and paste shell commands that you > don't understand, it parses the commands and gives excerpts from > relevant docs, which might help you in future. Just a quick thank you for pointing out this resource! This will definitely be going into my UNI

Re: Trying to understand man page for dd

2017-05-29 Thread David
On 29 May 2017 at 21:59, Richard Owlett wrote: > > His post did have impact. https://youtu.be/tNapRQILbTA?t=93

Re: Trying to understand man page for dd

2017-05-29 Thread Thomas Schmitt
Hi, Richard Owlett wrote: > Am I correct that there is a problem with the man page? Not with that example. It works as to be expected from the description. The example in the coreutils manual gives a better motivation why one would want to send USR1 signals to the running dd process. > The [exa

Re: Trying to understand man page for dd

2017-05-29 Thread David Wright
On Mon 29 May 2017 at 09:13:21 (-0500), Richard Owlett wrote: > On 05/29/2017 08:36 AM, David Wright wrote: > >On Mon 29 May 2017 at 06:59:23 (-0500), Richard Owlett wrote: > > > >>I think the is a subtle bug in the man page. > >>I introduces the two lines of code saying: > >> > Sending a USR1 sig

Re: Trying to understand man page for dd

2017-05-29 Thread Richard Owlett
On 05/29/2017 08:36 AM, David Wright wrote: On Mon 29 May 2017 at 06:59:23 (-0500), Richard Owlett wrote: I think the is a subtle bug in the man page. I introduces the two lines of code saying: > Sending a USR1 signal to a running 'dd' process makes it print > I/O statistics to standard err

Re: Trying to understand man page for dd

2017-05-29 Thread David Wright
On Mon 29 May 2017 at 06:59:23 (-0500), Richard Owlett wrote: > I think the is a subtle bug in the man page. > I introduces the two lines of code saying: > > Sending a USR1 signal to a running 'dd' process makes it print > > I/O statistics to standard error and then resume copying. > I believe

Re: Trying to understand man page for dd

2017-05-29 Thread Richard Owlett
On 05/29/2017 01:20 AM, Thomas Schmitt wrote: Hi, David wrote: https://explainshell.com/explain?cmd=dd+if%3D%2Fdev%2Fzero+of%3D%2Fdev%2Fnul l%26+pid%3D%24! For a machine this is not a bad answer. https://explainshell.com/explain?cmd=kill+-USR1+%24pid%3B+sleep+1%3B+kill+%24pid But this one

Re: Trying to understand man page for dd

2017-05-28 Thread Thomas Schmitt
Hi, David wrote: > https://explainshell.com/explain?cmd=dd+if%3D%2Fdev%2Fzero+of%3D%2Fdev%2Fnul l%26+pid%3D%24! For a machine this is not a bad answer. > https://explainshell.com/explain?cmd=kill+-USR1+%24pid%3B+sleep+1%3B+kill+%2 4pid But this one missed the point quite clearly. (It gets no cl

Re: Trying to understand man page for dd

2017-05-28 Thread David
On 28 May 2017 at 21:58, Richard Owlett wrote: > It says in part: >> >> Sending a USR1 signal to a running 'dd' process makes it print I/O >> statistics to standard error and then resume copying. >> >> $ dd if=/dev/zero of=/dev/null& pid=$! >> >> $ kill -USR1 $pid; sleep 1; kill $pid > > >

Re: Trying to understand man page for dd

2017-05-28 Thread Richard Owlett
On 05/28/2017 07:40 AM, Thomas Schmitt wrote: Hi, Richard Owlett wrote: It says in part: $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid I think it is trying to tell me what I need to know. dd is started as background process, busily copying bytes from n

Re: Trying to understand man page for dd

2017-05-28 Thread Thomas Schmitt
Hi, Richard Owlett wrote: > It says in part: > > $ dd if=/dev/zero of=/dev/null& pid=$! > > $ kill -USR1 $pid; sleep 1; kill $pid > I think it is trying to tell me what I need to know. dd is started as background process, busily copying bytes from nowhere to nowhere: dd if=/dev/zero of

Re: Trying to understand man page for dd

2017-05-28 Thread Richard Owlett
On 05/28/2017 07:05 AM, JPlews wrote: On 28/05/17 12:58, Richard Owlett wrote: It says in part: Sending a USR1 signal to a running 'dd' process makes it print I/O statistics to standard error and then resume copying. $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; k

Re: Trying to understand man page for dd

2017-05-28 Thread Richard Owlett
On 05/28/2017 07:04 AM, The Wanderer wrote: On 2017-05-28 at 07:58, Richard Owlett wrote: It says in part: Sending a USR1 signal to a running 'dd' process makes it print I/O statistics to standard error and then resume copying. $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pi

Re: Trying to understand man page for dd

2017-05-28 Thread JPlews
On 28/05/17 12:58, Richard Owlett wrote: It says in part: Sending a USR1 signal to a running 'dd' process makes it print I/O statistics to standard error and then resume copying. $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid I think it is trying to tell

Re: Trying to understand man page for dd

2017-05-28 Thread The Wanderer
On 2017-05-28 at 07:58, Richard Owlett wrote: > It says in part: > >> Sending a USR1 signal to a running 'dd' process makes it print I/O >> statistics to standard error and then resume copying. >> >> $ dd if=/dev/zero of=/dev/null& pid=$! >> >> $ kill -USR1 $pid; sleep 1; kill $pid > > I

Trying to understand man page for dd

2017-05-28 Thread Richard Owlett
It says in part: Sending a USR1 signal to a running 'dd' process makes it print I/O statistics to standard error and then resume copying. $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid I think it is trying to tell me what I need to know. But there is too