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

Method _read_status_file

embedded/site-packages/psutil/_pslinux.py:1805–1811  ·  view source on GitHub ↗

Read /proc/{pid}/stat file and return its content. The return value is cached in case oneshot() ctx manager is in use.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

num_ctx_switchesMethod · 0.95
num_threadsMethod · 0.95
_get_eligible_cpusMethod · 0.95
uidsMethod · 0.95
gidsMethod · 0.95

Calls 2

open_binaryFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected