def _sendStatCmd(self,  cmd):
try:<EOL><INDENT>self._conn.write("<STR_LIT>" % cmd)<EOL>regex = re.compile('<STR_LIT>', re.MULTILINE)<EOL>(idx, mobj, text) = self._conn.expect([regex,], self._timeout) <EOL><DEDENT>except:<EOL><INDENT>raise Exception("<STR_LIT>" % self._instanceName)<EOL><DEDENT>if mobj is not None:<EOL><INDENT>if mobj.group(<NUM_LIT:1>) == '<STR_LIT>':<EOL><INDENT>return text.splitlines()[:-<NUM_LIT:1>]<EOL><DEDENT>elif mobj.group(<NUM_LIT:1>) == '<STR_LIT>':<EOL><INDENT>raise Exception("<STR_LIT>"<EOL>% self._instanceName)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise Exception("<STR_LIT>" % self._instanceName)<EOL><DEDENT>
Send stat command to Memcached Server and return response lines.

        @param cmd: Command string.
        @return:    Array of strings.