You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CPU & memory resource usage not measured when set_pid is used #718
This will probably be because set_pid updates self._pid, but self._parent_process, which is used in the generation of the lists of processes to collect stats from, is only set equal to self._pid inside run.init(). To fix, just going to add a self._parent_process = psutil.Process(self._pid) into set_pid
Activity
wk9874 commentedon Feb 24, 2025
This will probably be because
set_pidupdatesself._pid, butself._parent_process, which is used in the generation of the lists of processes to collect stats from, is only set equal toself._pidinsiderun.init(). To fix, just going to add aself._parent_process = psutil.Process(self._pid)intoset_pid