def METHOD_NAME(self):
    logfile = "ldmsctl.log"
    self.smp = LDMSD(port = self.SMP_PORT, xprt = self.XPRT,
                     verbose = "DEBUG", logfile = logfile)
    self.smp.run()
    if not on_timeout(self.is_logfile_ready, filename=logfile):
        raise Exception("ldmsd log file isn't created within 1 second after ldmsd is started.")
    name_len = self.getMaxMsgSz("ldmsctl")
    line = self.getGreetingCfgCmd(name_len)
    cfg = tempfile.NamedTemporaryFile()
    cfg.write(line.encode())
    cfg.file.flush()
    # ldmsd_controller subprocess
    ctrl = LDMSD_Controller(port = self.SMP_PORT, xprt = self.XPRT,
                            source = cfg.name, ldmsctl = True)
    ctrl.run()
    msg = self.getLogMsg(name_len)
    self.assertTrue(on_timeout(self.is_msg_in_logfile, filename=logfile, msg = msg))