[plug] rsync - how to tell if working?
Craig Foster
fostware at iinet.net.au
Sun Aug 25 21:34:15 WST 2002
If you try :-
rsync -avv --progress --stats --partial rsync://host.name/folder/
./dumpithere/
You get a file listing like :-
...
e-smith/updates/5.5/Update1/README
********** (50)%
********** (100)%
e-smith/updates/5.5/Update1/RPMS/SMEServer-5.5_Update1-03.noarch.rpm is
uptodate
e-smith/updates/5.5/Update1/RPMS/apache-1.3.22-6es1.i386.rpm is uptodate
e-smith/updates/5.5/Update1/RPMS/openssh-3.1p1-2es2.i386.rpm is uptodate
e-smith/updates/5.5/Update1/RPMS/openssh-clients-3.1p1-2es2.i386.rpm is
uptodate
e-smith/updates/5.5/Update1/RPMS/openssh-server-3.1p1-2es2.i386.rpm is
uptodate
e-smith/updates/5.5/Update1/SRPMS/SMEServer-5.5_Update1-03.src.rpm is
uptodate
e-smith/updates/5.5/Update1/SRPMS/apache-1.3.22-6es1.src.rpm is uptodate
e-smith/updates/5.5/Update1/SRPMS/openssh-3.1p1-2es2.src.rpm is uptodate
...
and this at the end :-
rsync[6340] (receiver) heap statistics:
arena: 493048 (bytes from sbrk)
ordblks: 1 (chunks not in use)
smblks: 0
hblks: 0 (chunks from mmap)
hblkhd: 0 (bytes from mmap)
usmblks: 0
fsmblks: 0
uordblks: 476216 (bytes used)
fordblks: 16832 (bytes free)
keepcost: 16832 (bytes in releasable chunk)
Number of files: 3943
Number of files transferred: 0
Total file size: 2263241346 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 113749
Total bytes written: 83
Total bytes read: 113785
wrote 83 bytes read 113785 bytes 2882.73 bytes/sec
total size is 2263241346 speedup is 19876.01
This works quite well to mirror 2.2GB files on a 56K Line:)
Regards,
Craig F
> -----Original Message-----
> From: Daniel [mailto:cottmain at iinet.net.au]
> Sent: Sunday, August 25, 2002 5:38 PM
> To: plug at plug.linux.org.au
> Subject: [plug] rsync - how to tell if working?
>
>
> Hello All,
> sometimes I'm not sure if rsync is working. Original terminal
> window has
> not returned to prompt.
> It's still in 'ps aux | grep rsync' which shows processes using around
> 4.5% memory, but 0 cpu so guess it must be dead.
> Will rsync just stall and still hang onto memory?
> I have checked directory size and that's remaining stable (as expected
> for just an update).
> I can just restart it, but could I get around this automatically?
>
> thanks,
> Daniel.
>
>
>
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3238 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20020825/a4145dad/attachment.bin>
More information about the plug
mailing list