How to identify what process is holding a file open.
-
Does anyone know how to id what specific process has a particular file open? Is there a utility in the OS like 'lsof' or a utility with the MS compilers? If not can I do this programatically? Any help would be apprciated. BTW. The reason I am doing this is because the network admin has a open file called 'hfind.tmp' on a SQL Server machine. Is this file possibly an indexing or hashtable for full text searches in SQL Server? ~LizardWiz()
-
Does anyone know how to id what specific process has a particular file open? Is there a utility in the OS like 'lsof' or a utility with the MS compilers? If not can I do this programatically? Any help would be apprciated. BTW. The reason I am doing this is because the network admin has a open file called 'hfind.tmp' on a SQL Server machine. Is this file possibly an indexing or hashtable for full text searches in SQL Server? ~LizardWiz()
Use the free Process Explorer from SysInternals Trying to make bits uncopyable is like trying to make water not wet. -- Bruce Schneier By the way, dog_spawn isn't a nickname - it is my name with an underscore instead of a space. -- dog_spawn
-
Does anyone know how to id what specific process has a particular file open? Is there a utility in the OS like 'lsof' or a utility with the MS compilers? If not can I do this programatically? Any help would be apprciated. BTW. The reason I am doing this is because the network admin has a open file called 'hfind.tmp' on a SQL Server machine. Is this file possibly an indexing or hashtable for full text searches in SQL Server? ~LizardWiz()
Another goodie is Who's Locking[^]. It even lets you close down the process that's locking you out.:-D "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
-
Does anyone know how to id what specific process has a particular file open? Is there a utility in the OS like 'lsof' or a utility with the MS compilers? If not can I do this programatically? Any help would be apprciated. BTW. The reason I am doing this is because the network admin has a open file called 'hfind.tmp' on a SQL Server machine. Is this file possibly an indexing or hashtable for full text searches in SQL Server? ~LizardWiz()