parameters: (self, pid, output_file)
return_statement: return output_file + "." + str(pid)
docstring: Take a dump of pid to specified file
docstring_summary: Take a dump of pid to specified file
docstring_tokens: Take a dump of pid to specified file
function: def dump_core(self, pid, output_file):
          """Take a dump of pid to specified file"""
  
          dbg = self._find_gcore()
  
          if dbg is None:
              sys.stdout.write("WARNING: Debugger gcore not found, skipping dumping of %d to %s\n" % (pid, output_file))
              return
  
          sys.stdout.write("INFO: Debugger %s, analyzing %d to %s\n" % (dbg, pid, output_file))
  
          call([dbg, "-o", output_file, str(pid)])
  
          sys.stdout.write("INFO: Done analyzing process\n")
  
          # GCore appends the pid to the output file name
          return output_file + "." + str(pid)
function_tokens: def dump_core ( self , pid , output_file ) : dbg = self . _find_gcore ( ) if dbg is None : sys . stdout . write ( "WARNING: Debugger gcore not found, skipping dumping of %d to %s\n" % ( pid , output_file ) ) return sys . stdout . write ( "INFO: Debugger %s, analyzing %d to %s\n" % ( dbg , pid , output_file ) ) call ( [ dbg , "-o" , output_file , str ( pid ) ] ) sys . stdout . write ( "INFO: Done analyzing process\n" ) # GCore appends the pid to the output file name return output_file + "." + str ( pid )