package
0.0.2
Repository: https://github.com/yubo/golib.git
Documentation: pkg.go.dev

# Functions

NumFDs returns the number of file descriptors for a given process.
NumFDsWithBatchSleep is the same as NumFDs but it throttles itself to prevent excessive CPU usages for processes with a lot of file descriptors.
NumFDsWithDefaultBatchSleep is the same as NumFDsWithBatchSleep except it uses the default value for the batchSleepDurationMultiplier.