bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation problem for dd


From: Jim Meyering
Subject: Re: Documentation problem for dd
Date: Wed, 06 Jun 2007 10:11:16 +0200

Dave Schulz <address@hidden> wrote:
> Hi, I just noticed (this may have been fixed already, I don't know) in
> the man page for dd(1) where it talks about sending the USR1 signal to
> dd to get it to print out the stats.  The example would print the
> stats once, wait for 1 sec, then kill the dd :) i.e. the -USR1 is
> missing from the second kill statement.
>
>    $ kill -USR1 $pid; sleep 1; kill $pid

Thanks for taking the time to write, but in that example
I really do want the second "kill" to terminate the dd process.
The goal of the example is to demonstrate the feature.
It would be rather nasty of the documentation to do as you suggest:
then, for some, that would leave the dd process running indefinitely.

BTW, the "sleep 1" is to ensure that dd has time to print the statistics
before the following "kill" terminates it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]