Exemple #1
0
 def __init__(self, options):
     self.options = options
     self.connection = Connection(NETLINK_GENERIC)
     controller = Controller(self.connection)
     self.family_id = controller.get_family_id('TASKSTATS')
Exemple #2
0
 def __init__(self, options):
     self.options = options
     self.connection = Connection(NETLINK_GENERIC)
     controller = Controller(self.connection)
     self.family_id = controller.get_family_id('TASKSTATS')
Exemple #3
0
class TaskStatHelper(object):
    connection = Connection(NETLINK_GENERIC)
    controller = Controller(connection)
    family_id = controller.get_family_id('TASKSTATS')