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:

Linux::Fuser v0.0.15

Discover which process has a file open, in pure Raku

Authors

License

Artistic-2.0

Dependencies

System::Passwd

Test Dependencies

Provides

  • Linux::Fuser
  • Linux::Fuser::FileDescriptor
  • Linux::Fuser::Procinfo

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.