class_docstr: A wrapper for Qstat to avoid overloading the
  SGE/OGS server with rapid continuous qstat requests
class_docstr_tok: ["A","wrapper","for","Qstat","to","avoid","overloading","the","SGE\/OGS","server","with","rapid","continuous","qstat","requests"]
docstr: This is only called during initialization of the function for the purpose
  of identifying jobs that are not part of this run of nipype.  They
  are jobs that existed prior to starting a new jobs, so they are irrelevant.
docstr_tok: ["This","is","only","called","during","initialization","of","the","function","for","the","purpose","of","identifying","jobs","that","are","not","part","of","this","run","of","nipype",".","They","are","jobs","that","existed","prior","to","starting","a","new","jobs",",","so","they","are","irrelevant","."]
code: def _remove_old_jobs(self):
      """This is only called during initialization of the function for the purpose
      of identifying jobs that are not part of this run of nipype.  They
      are jobs that existed prior to starting a new jobs, so they are irrelevant.
      """
      self._run_qstat("QstatInitialization", True)
  
imports: import os
  import pwd
  import re
  import subprocess
  import time
  import xml.dom.minidom
  import random
  from ...None import logging
  from ...interfaces.base import CommandLine
  from .base import SGELikeBatchManagerBase, logger
label_desc: Use image node_id 2 for calling the QstatSubstitute obj's underlying member method code with example usage: obj._remove_old_jobs() without return types