package osutils

import "github.com/containerd/containerd/osutils"

Index

Functions

func GetOpenFds

func GetOpenFds(pid int) (int, error)

GetOpenFds returns the number of open fds for the process provided by pid

Types

type Exit

type Exit struct {
	Pid    int
	Status int
}

Exit is the wait4 information from an exited process

func Reap

func Reap() (exits []Exit, err error)

Reap reaps all child processes for the calling process and returns their exit information

Source Files

fds.go reaper.go

Version
v0.2.2
Published
May 24, 2016
Platform
js/wasm
Imports
4 packages
Last checked
1 hour ago

Tools for package owners.