MCPcopy Index your code
hub / github.com/pythonprofilers/memory_profiler / find_first_process

Function find_first_process

mprof.py:182–186  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

180 return ' '.join(args)
181
182def find_first_process(name):
183 for i in mp.psutil.process_iter():
184 if name in i.name():
185 return i
186 return None
187
188def attach_action():
189 argv = sys.argv

Callers 1

run_actionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected