Re: check processes accessing file system

2013-01-10 Thread Paul.G
thanks From: David Precious To: beginners@perl.org Sent: Friday, 11 January 2013 12:07 AM Subject: Re: check processes accessing file system On Thu, 10 Jan 2013 05:01:38 -0800 (PST) "Paul.G" wrote: > Linux/Unix you would use. > > eg: &

Re: check processes accessing file system

2013-01-10 Thread David Precious
On Thu, 10 Jan 2013 05:01:38 -0800 (PST) "Paul.G" wrote: > Linux/Unix you would use. > > eg: > fuser -c /tmp > or > lsof could also be used. > > > I was wondering if there was a perl module that does the same thing. See Unix::Lsof then, as per my reply - it should do what you need. -- To u

Re: check processes accessing file system

2013-01-10 Thread Paul.G
processes accessing file system On Wed, 9 Jan 2013 17:45:51 -0800 (PST) "Paul.G" wrote: > Is there a quck way to test if processes are accessing file system in > perl? That's quite a vague requirement. Find out what processes have a specific file open? Find out what proc

Re: check processes accessing file system

2013-01-10 Thread Shlomi Fish
Hi Paul, On Wed, 9 Jan 2013 17:45:51 -0800 (PST) "Paul.G" wrote: > Hi > > Is there a quck way to test if processes are accessing file system in perl? > If you are using Linux you can use: * https://metacpan.org/search?q=inotify I think the *BSDs have some similar mechanisms, but I don't rem

Re: check processes accessing file system

2013-01-10 Thread David Precious
On Wed, 9 Jan 2013 17:45:51 -0800 (PST) "Paul.G" wrote: > Is there a quck way to test if processes are accessing file system in > perl? That's quite a vague requirement. Find out what processes have a specific file open? Find out what processes are doing IO at that specific moment? What is it

check processes accessing file system

2013-01-09 Thread Paul.G
Hi Is there a quck way to test if processes are accessing file system in perl? cheers Paul