giampaolo / psutil

Cross-platform lib for process and system monitoring in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

yuyaU0507 opened this issue · comments

Summary

  • OS: { Windows 10 }
  • Architecture: { 64bit }
  • Psutil version: { 5.9.5 }
  • Python version: { 3.11.6 }
  • Type: { code }

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.