parameters: (self, remote_path)
return_statement: return stats
docstring: Get metadata for a file system on the remote machine.
  
          :param remote_path: Path to examine
          :returns: Dict of filesystem metadata
docstring_summary: Get metadata for a file system on the remote machine.
docstring_tokens: Get metadata for a file system on the remote machine .
function: def statfs(self, remote_path):
          """Get metadata for a file system on the remote machine.
  
          :param remote_path: Path to examine
          :returns: Dict of filesystem metadata
  
          """
  
          names = ["type", "bsize", "blocks", "bfree", "bavail", "files", "free"]
          names = ["f_" + x for x in names]
  
          response = self._simple_command("statfs {0}\n".format(quote(remote_path)))
          result = self._get_line_data().rstrip()
          while len(result.split()) < len(names):
              result += " " + self._get_line_data().rstrip()
  
          results = [int(x) for x in result.split()]
          stats = dict(zip(names, results))
          return stats
function_tokens: def statfs ( self , remote_path ) : names = [ "type" , "bsize" , "blocks" , "bfree" , "bavail" , "files" , "free" ] names = [ "f_" + x for x in names ] response = self . _simple_command ( "statfs {0}\n" . format ( quote ( remote_path ) ) ) result = self . _get_line_data ( ) . rstrip ( ) while len ( result . split ( ) ) < len ( names ) : result += " " + self . _get_line_data ( ) . rstrip ( ) results = [ int ( x ) for x in result . split ( ) ] stats = dict ( zip ( names , results ) ) return stats