CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Which process have a file open


New User

Jun 15, 2011, 11:11 PM

Post #1 of 1 (1438 views)
Which process have a file open Can't Post



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.




Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives