langchain/cli/main.py/PlusCommand/status
class PlusCommand:    def status(self) -> None:
        """Provide information about the status LangChainPlus server."""

        command = [
            *self.docker_compose_command,
            "-f",
            str(self.docker_compose_file),
            "ps",
            "--format",
            "json",
        ]

        result = subprocess.run(
            command,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
        )
        try:
            command_stdout = result.stdout.decode("utf-8")
            services_status = json.loads(command_stdout)
        except json.JSONDecodeError:
            logger.error("Error checking LangChainPlus server status.")
            return
        if services_status:
            logger.info("The LangChainPlus server is currently running.")
            pprint_services(services_status)
        else:
            logger.info("The LangChainPlus server is not running.")
            return