Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Overview ¶ Package process provides functions for inspecting processes. Index ¶ func NumFDs(pid int) (int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NumFDs ¶ func NumFDs(pid int) (int, error) NumFDs returns the number of file descriptors for a given process. This is more efficient than the NumFDs() method in the psutils package by avoiding reading the destination of the symlinks in the proc directory. Types ¶ This section is empty. Source Files ¶ View all Source files process_linux.go Click to show internal directories. Click to hide internal directories.