code: def __str__(self):
      return "node_ip: {} tag: {}, pgid: {}, pids: {}, returncode: {}, \
                  master_addr: {},  \n {} {}".format(
          self.node_ip,
          self.tag,
          self.pgid,
          self.pids,
          self.errorcode,
          self.master_addr,
          self.out,
          self.err,
      )
  
file_path: analytics-zoo/pyzoo/zoo/ray/process.py
imports: import os
  import subprocess
  from zoo.ray.utils import is_local
label_desc: Use image node_id 2 for calling the ProcessInfo obj's underlying member method code with example usage: obj.__str__() and returns: str