def __init__(self, config, options): StatExtractor.__init__(self, config, options) self.user_q_search = r'^(?P<job_id>[0-9]+)\s+' \ r'(?P<name>[0-9A-Za-z_.-]+)?\s+' \ r'(?P<user>[0-9A-Za-z_.-]+)\s+' \ r'(?:\d{4}-\d{2}-\d{2})\s+' \ r'(?:\d{2}:\d{2}:\d{2})\s+' \ r'(?P<job_state>[RWF])\s+' \ r'(?P<queue>default|besteffort)'
def __init__(self, config, options): StatExtractor.__init__(self, config, options) # self.user_q_search = r'^(?P<host_name>(?P<job_id>[0-9\[\]-]+)\.(?P<domain>[\w-]+))\s+' \ # r'(?P<name>[\w%.=+/{}-]+)\s+' \ # r'(?P<user>[A-Za-z0-9.]+)\s+' \ # r'(?P<time>\d+:\d+:?\d*|0)\s+' \ # r'(?P<state>[BCEFHMQRSTUWX])\s+' \ # r'(?P<queue_name>\w+)' self.user_q_search = r'(?P<job_id>[\d\[\]]+)\s+' \ r'(?P<name>[\w%.=+/{}-]+)\s+' \ r'(?P<user>[A-Za-z0-9.]+)\s+' \ r'(?P<time>\d+:\d+:?\d*|0)\s+' \ r'(?P<state>[BCEFHMQRSTUWX])\s+' \ r'(?P<queue_name>\w+)'
def __init__(self, config, options): StatExtractor.__init__(self, config, options) self.user_q_search = r'^(?P<host_name>(?P<job_id>[0-9\[\]-]+)\.(?P<domain>[\w-]+))\s+' \ r'(?P<name>[\w%.=+/{}-]+)\s+' \ r'(?P<user>[A-Za-z0-9.]+)\s+' \ r'(?P<time>\d+:\d+:?\d*|0)\s+' \ r'(?P<state>[BCEFHMQRSTUWX])\s+' \ r'(?P<queue_name>\w+)' self.user_q_search_prior = r'\s{0,2}' \ r'(?P<job_id>\d+)\s+' \ r'(?:[0-9]\.[0-9]+)\s+' \ r'(?:[\w.-]+)\s+' \ r'(?P<user>[\w.-]+)\s+' \ r'(?P<state>[a-z])\s+' \ r'(?:\d{2}/\d{2}/\d{2}|0)\s+' \ r'(?:\d+:\d+:\d*|0)\s+' \ r'(?P<queue_name>\w+@[\w.-]+)\s+' \ r'(?:\d+)\s+' \ r'(?:\w*)'
def __init__(self, config, options, scheduler_output_filenames): StatExtractor.__init__(self, config, options) self.scheduler_output_filenames = scheduler_output_filenames
def __init__(self, config, options): StatExtractor.__init__(self, config, options)