giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.31k stars 1.39k forks source link

[Windows 10] psutil.process_iter() seems to be stuck #2391

Open yuyaU0507 opened 8 months ago

yuyaU0507 commented 8 months ago

Summary

Description

Hi,

I'd like to find a process having the specific name. psutil.process_iter() would work thus I tried it to so that. I then found the command was stuck even for several hours. On the other hand, psutil.pids() somehow normally worked so I guess psutil.process_iter() has a trouble. Do you have any idea to solve the problem?

Thanks.