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

Method _parse_stat_file

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

Parse /proc/{pid}/stat file and return a dict with various process info. Using "man proc" as a reference: where "man proc" refers to position N always subtract 3 (e.g ppid position 4 in 'man proc' == position 1 in here). The return value is cached in case ones

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

nameMethod · 0.95
terminalMethod · 0.95
cpu_timesMethod · 0.95
cpu_numMethod · 0.95
create_timeMethod · 0.95
statusMethod · 0.95
ppidMethod · 0.95

Calls 3

bcatFunction · 0.85
findMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected