Example #1
0
 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)'
Example #2
0
File: oar.py Project: qtop/qtop
 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)'
Example #3
0
    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+)'
Example #4
0
    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*)'
Example #5
0
File: pbs.py Project: qtop/qtop
    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*)'
Example #6
0
File: sge.py Project: qtop/qtop
 def __init__(self, config, options, scheduler_output_filenames):
     StatExtractor.__init__(self, config, options)
     self.scheduler_output_filenames = scheduler_output_filenames
Example #7
0
 def __init__(self, config, options, scheduler_output_filenames):
     StatExtractor.__init__(self, config, options)
     self.scheduler_output_filenames = scheduler_output_filenames
Example #8
0
File: sge.py Project: tin6150/qtop
 def __init__(self, config, options):
     StatExtractor.__init__(self, config, options)