[LAD] [OT] bash vs disk activity
pshirkey at boosthardware.com
Thu Oct 11 08:58:06 UTC 2007
On Thu, 2007-10-11 at 10:32 +0200, Luis Garrido wrote:
> > Can anyone here shed a little more light on how to monitor the disk
> > activity while transferring data?
> Not sure if this would work, but first thing I can think of is:
> 1) Calculate the amount of data to transfer (du command.)
> 2) Find out the remaining free space in the target unit (df command.)
> 3) Calculate the remaining free space when the copy is done.
> 4) Begin copy.
> 5) Periodically monitor the free space.
Thanks for your suggestion.
I have tried that already but the cp command grabs the space allocated
while it is buffering the data to transfer so as far as df is concerned
the space has been filled :/
Boost Hardware Ltd.
More information about the Linux-audio-dev