Bit of a round about way to achieve what you need:
1. Use statrcopy command which gives below output for each group:
Name Target Status Role Mode Options LTCADC1.NProject LTCHPDRSAN Started Primary Periodic Last-Sync 2018-04-04 14:03:21 IST, Period 10m,auto_recover,over_per_alert LocalVV ID RemoteVV ID SyncStatus LastSyncTime prd.ltcadc1.nproject.vv 444 prd.ltcadc1.nproject.R.vv 2 Synced 2018-04-04 14:04:12 IST
2. Store this in a text file 3. Process this text file to extract "LastSyncTime" value 4. Use batch and repeat 1-3 as required
I use this method along-with showtask output to record and know statistics of data transferred as well as RPO.
Hope this helps !
|