MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / ionice

Method ionice

embedded/site-packages/psutil/__init__.py:814–833  ·  view source on GitHub ↗

Get or set process I/O niceness (priority). On Linux *ioclass* is one of the IOPRIO_CLASS_* constants. *value* is a number which goes from 0 to 7. The higher the value, the lower the I/O priority of the process. On Windows only *ioclass* is used and

(self, ioclass=None, value=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

test_ionice_linuxMethod · 0.95
test_ionice_winMethod · 0.95

Calls 3

_raise_if_pid_reusedMethod · 0.95
ionice_getMethod · 0.45
ionice_setMethod · 0.45

Tested by 2

test_ionice_linuxMethod · 0.76
test_ionice_winMethod · 0.76