Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ONF ¶
type ONF struct { Raw string // raw string that produced this result Cmd string // command associated with Pid Pid int // pid of the owner Src net.Addr // source address Dst net.Addr // destination address CreatedAt time.Time }
ONF represents an open network file.
func FetchAll ¶
FetchAll retrieves the complete list of open network files. It does so using an external tool, `netstat` for windows and `lsof` for unix based systems.
Click to show internal directories.
Click to hide internal directories.