{"modulePath":"github.com/vsrc/client","version":"v1.0.18","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package lsof\n\n## Types\n\n```go\ntype ExecError struct {\n\t// contains filtered or unexported fields\n}\n```\nExecError is an error running lsof\n\n```go\nfunc (e ExecError) Error() string\n```\n\n```go\ntype FileDescriptor struct {\n\tFD   string\n\tType FileType\n\tName string\n}\n```\nFileDescriptor defines a file in use by a process\n\n```go\ntype FileType string\n```\nFileType defines the type of file in use by a process\n\n```go\nconst (\n\tFileTypeUnknown FileType = \"\"\n\tFileTypeDir     FileType = \"DIR\"\n\tFileTypeFile    FileType = \"REG\"\n)\n```\n\n```go\ntype Process struct {\n\tPID             string\n\tCommand         string\n\tUserID          string\n\tFileDescriptors []FileDescriptor\n}\n```\nProcess defines an process using an open file. Properties here are strings for compatibility with different platforms.\n\n```go\nfunc MountPoint(dir string) ([]Process, error)\n```\nMountPoint returns processes using the mountpoint \"lsof /dir\"\n\n","path":"github.com/vsrc/client/go/lsof","name":"lsof","synopsis":"","isRedistributable":true}
