Documentation ¶
Overview ¶
Package lsof provides a way to list open files for a given process
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implemented")
ErrNotImplemented is returned when the function is not implemented
Functions ¶
This section is empty.
Types ¶
type File ¶
File represents an open file The fields are not guaranteed to match lsof output, but they are good enough for debugging
type Files ¶
type Files []File
Files represents a list of open files
func ListOpenFiles ¶
ListOpenFiles returns a list of open files for the given process
func ListOpenFilesFromSelf ¶
ListOpenFilesFromSelf returns a list of open files for the current process
Click to show internal directories.
Click to hide internal directories.