Hello All,
 
Thanks for maintaining this very usefull program and newsgroup, I hope this is not a silly question...
 
I am currently running an rsync server based on SuSE 7.2 + rsync 2.5.2 in daemon mode, and  I have a number of  'Internet appliances' based on Redhat 6.1, scattered across the UK running rsync via cron & manually, thus rsync'ing may occur at any time. It is initiated by the appliances to send data to the server.
 
However I am having a problem gathering statistics for each connection from the rsync daemon log file. I do use an entry in rsyncd.conf to specify a log file. The problem I have is that the initial, rsync client/server exchange happens with one process ID, rsync (server) then appears to fork and produce another process, exchanges between server/client occur with this new process.
 
Now each line in the log file contains a PID, but how can I relate the initial 'rsync to' line with its PID, to the corresponding 'wrote' line, with it's PID.  Generally the child process has a PID of PPID + 1, but of course that can't be guaranteed. I have tried the 'log format' option in rsyncd.conf but that does not affect the 'rsync to' or 'wrote XXX.... Read XXX ....Total Size XXX' lines written to the log file.
 
Any advice/patches would be much appreciated.
 
Regards
 
John Hartery
 
 
 


Join the world’s largest e-mail service with MSN Hotmail. Click Here
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to