procfinder

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Process

type Process struct {
	PID         string
	Name        string
	Exe         string
	User        string
	IP          string
	Port        int64
	ForeignIP   string
	ForeignPort int64
}

Process represents a unix based process. This provides the direct path to the exe that it was originally spawned with, along with the nicename and process ID.

func GetProcs

func GetProcs() (pl []*Process, err error)

GetProcs crawls /proc/ for all pids that have bound ports

Jump to

Keyboard shortcuts

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