process

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2019 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package process provides functions for inspecting processes.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL