giampaolo / psutil

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

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

Open yuyaU0507 opened 6 months ago

yuyaU0507 commented 6 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.