

@wrap_exceptions
def get_process_ionice(self):
    (ioclass, value) = _psutil_linux.ioprio_get(self.pid)
    return nt_ionice(ioclass, value)

dataset/ETHPy150Open packages/psutil/psutil/_pslinux.py Process.get_process_ionice/original