code: def do_dump(self, params):
          
          hosts = params.hosts if params.hosts != "" else None
  
          if hosts is not None and invalid_hosts(hosts):
              self.show_output("List of hosts has the wrong syntax.")
              return
  
          if self._zk is None:
              self._zk = XClient()
  
          try:
              content = get_matching(self._zk.dump(hosts), params.match)
              self.show_output(content)
          except XClient.CmdFailed as ex:
              self.show_output(str(ex))
docs: \x1b[1mNAME\x1b[0m
          dump - Executes the dump four-letter command
  
  \x1b[1mSYNOPSIS\x1b[0m
          dump [hosts] [match]
  
  \x1b[1mOPTIONS\x1b[0m
          * hosts: the hosts to connect to (default: the current connected host)
          * match: only output lines that include the given string (default: '')
  
  \x1b[1mEXAMPLES\x1b[0m
          > dump
          SessionTracker dump:
          Session Sets (3)/(1):
          0 expire at Fri Nov 14 02:49:52 PST 2014:
          0 expire at Fri Nov 14 02:49:56 PST 2014:
          1 expire at Fri Nov 14 02:50:00 PST 2014:
                  0x149adea89940107
          ephemeral nodes dump:
          Sessions with Ephemerals (0):