Olivier Delhomme <[EMAIL PROTECTED]> wrote: > Hello, > > I added some lines to dd.c in order to have some stats displayed while > copying a file. > > As i have read somewhere, some people do not like such a behavior so i added > a command line option : "stat=on" in order to work. > > Let me know if the diff file i send to you is ok (i'm a poor diff user) > > I hope this will be soon in an official release ! > > see you,
Thank you for the patch. But what about this existing interface (only recently documented)? Note that sending a `SIGUSR1' signal to a running `dd' process makes it print to standard error the number of records read and written so far, then to resume copying. In the example below, `dd' is run in the background to copy 10 million blocks. The `kill' command makes it output the first pair of intermediate record counts, and when `dd' completes, it outputs the final pair. $ dd if=/dev/zero of=/dev/null count 10M & pid=$! $ kill -USR1 $pid; sleep 99 5403604+0 records in 5403604+0 records out 10485760+0 records in 10485760+0 records out _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils