How to use ionice?

Leen Besselink leen at consolejunky.net
Thu Jul 9 18:20:15 MDT 2009


Ed W wrote:
> Hi, I need to rsync a remote live server to a local backup machine.  The
> local backup machine is starting the rsync on scheduled basis (ie
> pulling from the remote) and I would like it to reduce the load on the
> remote live server by using nice/ionice at the far end.   I'm connecting
> to the remote machine with ssh
> 
> How can I get the remote server to be running it's part of the chain
> nice'd/ionice'd ?
> 

Hi Ed,

If I'm not mistaken, I think you're looking for:

--rsync-path=~/bin/nice-rsync.sh

which has /home/user/bin/nice-rsync.sh:

ionice --some-option rsync

(I've never used it, but I think that's the right option)

> Thanks
> 
> Ed W



More information about the rsync mailing list