

def StartAgent(vm, classpath, driver_dir, driver_class, agent_id, java_heap_size, policy_path, faban_master):
    'Runs Registry on faban client.'
    vm.RobustRemoteCommand('export FABAN_HOME={6} && java -classpath {5} -Xmx{0} -Xms{0} -Djava.security.policy={1} com.sun.faban.driver.engine.AgentImpl {2} {3} {4} &'.format(java_heap_size, policy_path, driver_class, agent_id, faban_master, classpath, FABAN_HOME_DIR))
    time.sleep(3)

dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_packages/faban.py StartAgent/original