Re: nice and ionice

"Tyler J. Wagner" <[email protected]>
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <[email protected]>
On 2012-05-03 20:09, Richard Shaw wrote:
> I think I know the answer but I'm looking for confirmation here. If I
> want to nice AND ionice a backup, I'm assuming I need to use a script
> instead so I get a full shell? Something like:

No. I do this:

$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host /usr/bin/nice -n 19
/usr/bin/ionice -c 3 $rsyncPath $argList+';

Nice calls ionice.

Tyler

-- 
"What can be asserted without evidence can also be dismissed without
evidence."
   -- Christopher Hitchens

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.