def __init__(self, snapshots, path_to_output_dir, options):
     Plugin.__init__(self, "glocks_high_demote_seconds",
                     "The glocks with demote time greater than zero seconds.",
                     snapshots, "Glocks with High Demote Seconds",
                     path_to_output_dir, options)
     self.__table = []
     self.__glocks_high_demote_seconds = {}
예제 #2
0
 def __init__(self, snapshots, path_to_output_dir, options):
     Plugin.__init__(self, "glocks_activity",
                     "The glock's lockdump analyzed for multiple holder and waiters.",
                     snapshots, "Glocks Activity", path_to_output_dir,
                     options)
     self.__glock_dump = []
     self.__mininum_waiter_count = int(self.get_option("mininum_waiter_count"))
    def __init__(self, snapshots, path_to_output_dir, options):
        Plugin.__init__(self, "glocks_in_snapshots",
                        "The glocks that appear in multiple snapshots.",
                        snapshots, "Glocks in Snapshots", path_to_output_dir,
                        options)

        self.__glocks_in_snapshots = {}
        self.__minimum_glocks_in_snapshots = self.get_option("mininum_glocks_in_snapshots")
 def __init__(self, snapshots, path_to_output_dir, options):
     Plugin.__init__(self, "glocks_dependencies",
                     "A dependency graph of a glocks for a pid.",
                     snapshots, "Glocks Dependencies", path_to_output_dir,
                     options)
     self.__glocks_dependencies_snapshots = []
     # Set minimum glocks dependency and add the glock itself with plus 1.
     self.__minimum_glocks_dep = self.get_option("minimum_glocks_dep") + 1
예제 #5
0
 def __init__(self, snapshots, path_to_output_dir, options):
     Plugin.__init__(self, "snapshots",
                     "The stats for the snapshots and dlm activity.",
                     snapshots, "Snapshot Stats", path_to_output_dir,
                     options)
     self.__start_time = self.get_snapshots_start_time()
     self.__stop_time = self.get_snapshots_end_time()
     self.__snapshot_count = 0
     self.__dlm_activity = []
예제 #6
0
 def __init__(self, snapshots, path_to_output_dir, options):
     self.__gs_glocks_total_lowest = None
     self.__gs_glocks_total_highest = None
     snapshots_with_stats = []
     for snapshot in snapshots:
         if (not snapshot.get_glocks_stats() == None):
             snapshots_with_stats.append(snapshot)
     Plugin.__init__(self, "glocks_stats", "The stats for the different glock types and states.",
                     snapshots_with_stats, "Glocks Stats", path_to_output_dir,
                     options)
    def __init__(self, snapshots, path_to_output_dir, options):
        Plugin.__init__(self, "glocks_waiters_time",
                        "The holder + waiters of a glock over time.",
                        snapshots,
                        "Glocks Holder and Waiters Count over Time",
                        path_to_output_dir, options)
        self.__glocks_holder_waiters_by_date = {}

        self.__mininum_waiter_count = self.get_option("mininum_waiter_count")
        self.__maximum_glocks_to_graph = self.get_option("maximum_glocks_to_graph")
    def __init__(self, snapshots, path_to_output_dir, options):
        Plugin.__init__(self, "pids_function", "Analyzes the function each pid is in.",
                        snapshots, "Pids Functions", path_to_output_dir, options)
        self.__pids_in_snapshots = []

        self.__gfs2_functions = {"gfs2_inplace_reserve":[], "gfs2_inplace_reserve":[]}

        # List of processes to ignore by default:
        self.__commands_to_ignore = []
        for command in self.get_option("commands_to_ignore").split(","):
            self.__commands_to_ignore.append(command.strip())
예제 #9
0
    def __init__(self, snapshots, path_to_output_dir, options):
        Plugin.__init__(self, "pids", "The pids information relating to glocks.",
                        snapshots, "Pids Stats", path_to_output_dir, options)
        self.__pids_in_snapshots = []
        self.__pids_using_multiple_glocks = []

        self.__mininum_snapshot_count = self.get_option("mininum_snapshot_count")
        self.__mininum_glocks_count = self.get_option("mininum_glocks_count")

        # List of processes to ignore by default:
        self.__commands_to_ignore = []
        for command in self.get_option("commands_to_ignore").split(","):
            self.__commands_to_ignore.append(command.strip())