I am running Rsync as a service under windows2000
 
The --bwlimit option causes cygrunsrv service to fail if included during
setup of the service:
 
$ cygrunsrv -I "RSYNC" -p /usr/bin/rsync.exe -a '--config=/etc/rsyncd.conf
--daemon --bwlimit=64'
 
$ cygrunsrv -S rsync
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.
 
But without the option it works:
$ cygrunsrv -I "RSYNC" -p /usr/bin/rsync.exe -a '--config=/etc/rsyncd.conf
--daemon --no-detach'
$ cygrunsrv -S rsync
$ cygrunsrv -Q rsync
Service rsync exists
Type                : Own Process
Current State       : Running
Controls Accepted   : Accept Stop
 
Also, the --bwlimit option seems to be ignored under windows.
 
$ rsync -v ./* berowneo::temp --bwlimit=64
BEPLog.txt
Ossize.txt
SwitchBEPServer.Log
VerifydbResultsPostProcess.txt
VerifydbResultsPreProcess.txt
wrote 608 bytes  read 462 bytes  2140.00 bytes/sec
total size is 38419  speedup is 35.91

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  ~/bep/log
$ rsync -v ./* berowneo::temp --bwlimit=6400
BEPLog.txt
Ossize.txt
SwitchBEPServer.Log
VerifydbResultsPostProcess.txt
VerifydbResultsPreProcess.txt
wrote 610 bytes  read 462 bytes  2144.00 bytes/sec
total size is 38419  speedup is 35.84

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  ~/bep/log
$ rsync -v ./* berowneo::temp --bwlimit=6
BEPLog.txt
Ossize.txt
SwitchBEPServer.Log
VerifydbResultsPostProcess.txt
VerifydbResultsPreProcess.txt
wrote 607 bytes  read 462 bytes  2138.00 bytes/sec
total size is 38419  speedup is 35.94

 
 
Thanks.
 


Berowne Hlavaty 
Technical Consultant 
Barra International Ltd 
+61-2-9220-9303 
[EMAIL PROTECTED] 

 
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to