Re: [LAD] [OT] bash vs disk activity

From: Luis Garrido <luisgarrido@email-addr-hidden>
Date: Thu Oct 11 2007 - 11:32:36 EEST

> 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.

HTH,

Luis
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
Received on Thu Oct 11 12:15:02 2007

This archive was generated by hypermail 2.1.8 : Thu Oct 11 2007 - 12:15:02 EEST