parameters: (self, logger)
return_statement: return [[int(row[1]), row[0]] for row in csv_reader if row[1] != "PID"]
docstring: Get list of [Pid, Process Name].
docstring_summary: Get list of [Pid, Process Name].
docstring_tokens: Get list of [ Pid Process Name ] .
function: def dump_processes(self, logger):
          """Get list of [Pid, Process Name]."""
          ps = self.__find_ps()
  
          logger.info("Getting list of processes using %s", ps)
  
          ret = callo([ps, "/FO", "CSV"], logger)
  
          buff = io.StringIO(ret)
          csv_reader = csv.reader(buff)
  
          return [[int(row[1]), row[0]] for row in csv_reader if row[1] != "PID"]
function_tokens: def dump_processes ( self , logger ) : ps = self . __find_ps ( ) logger . info ( "Getting list of processes using %s" , ps ) ret = callo ( [ ps , "/FO" , "CSV" ] , logger ) buff = io . StringIO ( ret ) csv_reader = csv . reader ( buff ) return [ [ int ( row [ 1 ] ) , row [ 0 ] ] for row in csv_reader if row [ 1 ] != "PID" ]