
perl123soumen
New User
Jun 15, 2011, 11:11 PM
Post #1 of 1
(546 views)
|
|
Which process have a file open
|
Can't Post
|
|
Hi; Hi; I have used Linux::Fuser for determining the proceeses using a file. This module provides information similar to the Unix command 'fuser' about which processes have a particular file open. The way that this works is highly unlikely to work on any other OS other than Linux and even then it may not work on other than 2.2.* kernels. Some features may not work correctly on kernel versions older than 2.6.22. Thus it is not working in higher kernel version. Pls. suggest any cpan module or perl function to determine processes using a particular file,so that i can wait for the process to finish to work upn the file. Regards; soumen.
|