def get_stat(self, name):
        if not self.stats:
            raise ValueError, "no stats - run read(pid)"
        try:
            return self.stats[self._STATINDEX[name]]
        except KeyError:
            raise ValueError, "no attribute %s" % name
dataset/ETHPy150Open kdart/pycopia/core/pycopia/OS/FreeBSD/procfs.py/ProcStat.get_stat/original