We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something fairly similar can be done using fstat, though.
Questions remain:
Depending on that, there might be some extra IS_ constants
Or just maybe, try to run either of lsof or fstat you can ? and parse the results differently.
Will probably be more sturdy on any Unix...
Anyway, here's the fstat code.
Looking forward, making it work better. Sorry to not have a full patch yet.
I can look into it further if you don't have time.
patch.txt
The text was updated successfully, but these errors were encountered:
Forgive the tardy response.
Thanks for the starter patch, I'll look at incorporating something like it soon to get this all working on *bsd.
Sorry, something went wrong.
ok, so the approach seems to be use fstat instead of lsof.
I think I'll use dan's Unix::PID::get_pidof() instead
Hmm, there's no real lsof::PP though.
There is this however:
https://www.cpan.org/authors/id/J/JA/JAMSHAID/scripts/lsof-1.2.pl
Maybe I'll make a module out of that.
teodesian
No branches or pull requests
Something fairly similar can be done using fstat, though.
Questions remain:
Depending on that, there might be some extra IS_ constants
Or just maybe, try to run either of lsof or fstat you can ? and parse the results differently.
Will probably be more sturdy on any Unix...
Anyway, here's the fstat code.
Looking forward, making it work better. Sorry to not have a full patch yet.
I can look into it further if you don't have time.
patch.txt
The text was updated successfully, but these errors were encountered: