List owner processes of open file handles in Windows?

一个人想着一个人 提交于 2019-12-02 00:55:23

问题


I'm currently getting an "out of handles" error in my Event Viewer for a program.

What would be a good program to list what processes are using file handles?

An example would be 'lsof' in the *nix world.


回答1:


Use processexplorer

http://technet.microsoft.com/en-us/sysinternals/bb896653




回答2:


You could use Handle tool from SysInternals. https://technet.microsoft.com/en-us/sysinternals/bb896655.aspx




回答3:


In this question on Unix SE How to get over “device or resource busy” OP mention that he use LockHunter on Windows. It's great tool, just right click on file or directory and find the process that locking it and you can delete or unlock it with single click.



来源:https://stackoverflow.com/questions/8855396/list-owner-processes-of-open-file-handles-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!