taskman

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KillProcess

func KillProcess(pid uint32) error

func KillProcessByPort

func KillProcessByPort(port uint16) ([]uint32, error)

Types

type PortInfo

type PortInfo struct {
	Protocol   string
	LocalAddr  string
	LocalPort  uint16
	RemoteAddr string
	RemotePort uint16
	PID        uint32
	State      string
}

func FindProcessByPort

func FindProcessByPort(port uint16) ([]PortInfo, error)

type ProcessInfo

type ProcessInfo struct {
	PID       uint32
	Name      string
	ParentPID uint32
}

func ListProcesses

func ListProcesses(filter string) ([]ProcessInfo, error)

Jump to

Keyboard shortcuts

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