code: def get_slab_stats(self):
          
          s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          s.connect((self.host, self.port))
          s.send("stats slabs\n")
          try:
              data = ""
              while True:
                  data += s.recv(4096)
                  if data.endswith('END\r\n'):
                      break
              return data
          finally:
              s.close()
docs: Retrieve slab stats from memcached.