proc

package
v0.0.0-...-68d1bf6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MonitorPIDChanges

func MonitorPIDChanges(interval time.Duration, stopChan <-chan struct{}, cmd string, argFilters ...string) (<-chan *Proc, <-chan *Proc, <-chan string, <-chan error)

Types

type Proc

type Proc struct {
	Uid   string
	Pid   int
	Ppid  int
	C     int
	Stime string
	Tty   string
	Time  string
	Cmd   string
	Args  map[string]string
}

func PSEF

func PSEF(cmd string, argFilters ...string) ([]*Proc, map[int][]*Proc, error)

Jump to

Keyboard shortcuts

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