kaba1

updated

17 years ago

K

kaba1

1 Rookie

•

95 Posts

0

355

July 9th, 2009 10:00

Script to show replication sessions

Anyone knows a script that would tell me all currently running replications
and possibly information such as KB/s and Estimated Completion Time?

Thanks
  • Peter_EMC

    674 Posts

    97

    0

    Posted July 9th, 2009 22:00

    Sorry i do not know a script for this, but

    If you use nas_replicate -report, every replication will be listed in one line with comma separated fields.
    Use standard unix commands like cut, awk or sed to choose only the fields you are interested in.

    f.e. nas_replicate -report |cut -d, -f 2,24,27
    will list
    "name","curWriteRateKB","curTransferEstEndTime"

    If you are interested in other fields, just change the numbers behind the -f