def status(self, env): import status_params env.set_params(status_params) process_check_command = "sudo ps aux | grep tube_topic_tool_client | grep -v 'grep' " output = util.exe_command(process_check_command) if not output: raise ComponentIsNotRunning()
def status(self, env): import status_params env.set_params(status_params) # warring defalut port is 9002 port_check_command = format("sudo ps aux | grep 'topic_tool.py' | grep -v 'grep' ") output = util.exe_command(port_check_command) if not output: Logger.warning("{0} did not started!".format("Topic Tool Server")) raise ComponentIsNotRunning()