Re: nice and ssh/scp
rsync can throttle network resources during transfer. Its invocation
is nearly identical to scp.
Cheers,
Scott Edwards
Daxal Communications - http://www.daxal.com
Surf the USA - http://www.surfthe.us
PS Roberto: I meant to only reply to the list. Wasn't paying
attention. Reposting for everyone's benifit.
On Wed, 09 Feb 2005 21:48:26 -0500, Roberto C. Sanchez
<roberto@familiasanchez.net> wrote:
> Is there a way to nice the remote end of an ssh or scp session?
> I aske because I have two machines. One can fill a 100 Mbps pipe
> even enrypting for scp. However, the other is CPU bound and
> maxes out at 7 MBps (or ~60 Mbps). I usually initiate connections
> from the more powerful machine to the less powerful machine. I
> would like to know if I can do this on a per connection basis.
> All the information that I have found talks about nicing sshd
> (and by extension all of its child processes). However, I am
> in interested in a per connection solution.
>
> Is there a switch to ssh (that is not in the documentation) or
> an incantation that will have the remote end of the connection
> run at a lower priority or renice itself after starting?
>
> --
> Roberto C. Sanchez
> http://familiasanchez.net/~sanchezr
>
>
>
Reply to: