diff options
author | sarvotham s pai <spai@redhat.com> | 2013-04-01 00:44:34 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-04-04 01:04:19 -0700 |
commit | 6956c710d9bffcc0d99526a9d6c051c4cebc0bdb (patch) | |
tree | f6ed40e7cd65e70e71fda89e9d91c8cf581088ed /ufo/etc | |
parent | fff8008c6cfa3b224859bc4ac7cf8a3d35c22204 (diff) |
gsync: Display additional information in status command
Added code to display extra information when status command
is executed.
Information shown now are
1 Number of files synced
2 crawl time
3 total sync time
4 bytes synced
bytes synced is taken from rsync output .
--stats option of rsync gives extra infor
mation about the sync.In stats output there
is a field called Total transferred file
size which states the ammount of bytes synced .
This information is parsed from stdout output
using regular expressions.Bytes synced information
can be used to calculate throughput.
Change-Id: Id9bba9fff45ee7049bb8257c6fd918e5237e05b1
BUG: 947774
Signed-off-by: sarvotham s pai <spai@redhat.com>
Reviewed-on: http://review.gluster.org/4749
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'ufo/etc')
0 files changed, 0 insertions, 0 deletions