modulepackage
0.0.0-20200907184325-179c56e74adf
Repository: https://github.com/diamondburned/lsof.git
Documentation: pkg.go.dev
# README
lsof
A pure Go lsof library.
This library only supports Linux, FreeBSD, Solaris and Plan 9. It also internally utilizes worker pools.
# Functions
Scan scans the global /proc/:pid/fd and returns PIDs that are reading files.
# Constants
ChunkSize is the number of files to scan sequentially per worker.
# Variables
No description provided by the author
NumWorkers is the number of workers to distribute scanning to.
# Type aliases
StringChecker is used to check if a resolved path matches.