def _getActivity(self):
        try:
            # io_ticks is field number 9
            with open(self.path) as f:
                io_ticks = int(f.read().split()[9])
        except __HOLE__:
            return 0
        activity = io_ticks - self._prev
        self._prev = io_ticks
        return activity
dataset/ETHPy150Open qtile/qtile/libqtile/widget/graph.py/HDDBusyGraph._getActivity