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

Method as_dict

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

Utility method returning process information as a hashable dictionary. If *attrs* is specified it must be a list of strings reflecting available Process class' attribute names (e.g. ['cpu_times', 'name']) else all public (read only) attributes are assumed.

(self, attrs=None, ad_value=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

process_iterFunction · 0.95
test_issue_687Method · 0.95
proc_infoFunction · 0.95
test_as_dictMethod · 0.95
test_serializationMethod · 0.45
assertProcessZombieMethod · 0.45
print_sysinfoFunction · 0.45
test_win_service_iterMethod · 0.45

Calls 2

oneshotMethod · 0.95
joinMethod · 0.45

Tested by 6

test_issue_687Method · 0.76
proc_infoFunction · 0.76
test_as_dictMethod · 0.76
test_serializationMethod · 0.36
test_win_service_iterMethod · 0.36