Help Center/ Server Migration Service/ FAQs/ Product Consultation/ How Do I Enable Resource Monitoring?
Updated on 2026-01-09 GMT+08:00

How Do I Enable Resource Monitoring?

You can enable the resource monitoring function to check the CPU and memory usage during the migration in real time. The following describes the procedure.

This function may occupy extra resources on the source server.

  1. Before full replication starts, that is, before the first migration task is started, modify the SMS-Agent configuration file on the source server.

    • Linux source server
      Use the file editor to modify the g-property.cfg file in SMS-Agent/agent/config and save the modification.
      vim SMS-Agent/agent/config/g-property.cfg
      [property]
      ....
      enablemonitor = True 
      ....

      True: Enable resource monitoring. False: Disable resource monitoring.

    • Windows source server
      • Python 3: Go to the C:\SMS-Agent-Py3\config directory and change the value of enablemonitor in the g-property.cfg file to True.
      • Python 2: Go to the C:\SMS-Agent-Py2\config directory and change the value of enablemonitor in the g-property.cfg file to True.

  2. Save the configuration file and start the migration task.