Discover which process has a file open, in pure Perl 6
Perl 6
Latest commit 8a895e0 Aug 17, 2017 @jonathanstowe committed on GitHub Update README.md
No panda

README.md

Linux::Fuser

Discover which process has a file open, in pure Perl 6.

Build Status

Description

This is based on the similarly named module for Perl 5 available from CPAN.

Linux::Fuser provides a mechanism to determine which processes have a specified file open in a similar manner to the system utility fuser. There is an example program p6fuser in the examples directory which provides a Perl 6 implementation of that command.

Because this relies on the layout of the /proc filesystem specific to the Linux kernel it almost certainly will not work on any other operating system, though I would be delighted to hear about any where it does work.

Installation

Assuming you have a working perl6 installation you should be able to install this with zef :

zef install Linux::Fuser

Or if you have a local clone of the repository

zef install .

Support

Suggestions/patches are welcomed via github at:

https://github.com/jonathanstowe/p6-Linux-Fuser/issues

I'm not able to test on a wide variety of platforms so any help there would be appreciated.

Licence

This is free software.

Please see the LICENCE file in the distribution.

© Jonathan Stowe 2015, 2016, 2017