Linux::Fuser - Determine which processes have a file open
NAME
Linux::Fuser - Determine which processes have a file open
SYNOPSIS
use Linux::Fuser;
my $fuser = Linux::Fuser->new();
my @procs = $fuser.fuser('foo');
for @procs -> $proc ( @procs ) {
say $proc.pid(),"\t", $proc.user(),"\n",$proc->cmd();
}
METHODS
The class has one method, with two signatures, that does most of the work: