Re: (CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-14 Thread Lapo Luchini
Matt McCutchen wrote:
 As far as I know, the problem has not been fixed.  Since you have a
 setup that hangs consistently, you could do an enormous favor for all
 rsync-on-Cygwin users if you brought up the problem again on the
 Cygwin list and worked with the Cygwin people to get it solved once
 and for all.  I would do it except that I don't use Cygwin.

As a package maintainer, I tried a few times (over the years) to track
this issue, but to no avail, mostly because I never could reproduce it
consistently, but partly for lack of time or even knowledge (I know
pretty much nothing of Windows internals, that's why I use Cygwin in the
first place)... and here's where the guilt kicks in hard :P

Lapo

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


file statistics collection using stat(2) data obtained by rsync

2007-09-14 Thread Hugo Connery
Hi,

I'm using rsync + hard-link copy as a backup mechanism (happily :-) and wish 
now to collect file usage statistics per user per rsync operation.  rsync must 
preform a stat(2) or eqiuvalent on each file to determine if it needs to access 
the file content for synchronisation, and I would like to 'piggy back' my 
statistics on the stat(2) details that rsync has collected (and thus avoid 
generating all those stat(2)s again with another directory heirarchy traversal).

Has this been done?  Is there an 'API' for plugging in a file statistics 
collector?

Assuming that this is not a poor design consideration and that no existing 
mechanism exists, I will happy write this.  In which case, I would like to ask 
if others would be interested in this, and if so, what sort of statistics 
collection they would be interested in.

[my concept is to collect file totals into access time slots (e.g (0-3), (3-6), 
(6-12), (12-36), 36 + month slots) per user and dump this data to file for 
collection by a tool to then deliver it to RRDTool for pretty graphs].

Thanks in advance, and regards,

--
Hugo Connery
IT Administrator, Institute of Environment  Resources, DTU
http://www.er.dtu.dk
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: file statistics collection using stat(2) data obtained by rsync

2007-09-14 Thread Matt McCutchen
On 9/14/07, Hugo Connery [EMAIL PROTECTED] wrote:
 I[...] wish now to collect file usage statistics per user per rsync operation.

There is already a --stats option that provides some statistics.  Does
that give you everything you want?  If not, what other statistics do
you want?

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