Versions in this module Expand all Collapse all v0 v0.0.2 Oct 21, 2022 v0.0.1 Oct 20, 2022 Changes in this version + const CN_IDX_PROC + const CN_VAL_PROC + const PROC_EVENT_COMM + const PROC_EVENT_COREDUMP + const PROC_EVENT_EXEC + const PROC_EVENT_EXIT + const PROC_EVENT_FORK + const PROC_EVENT_GID + const PROC_EVENT_NONE + const PROC_EVENT_PTRACE + const PROC_EVENT_SID + const PROC_EVENT_UID + type Comm struct + ProcessPid Pid + ProcessTgid Pid + type Exec struct + ProcessPid Pid + ProcessTgid Pid + type Exit struct + ExitCode uint32 + ExitSignal uint32 + ParentPid Pid + ParentTgid Pid + ProcessPid Pid + ProcessTgid Pid + type Fork struct + ChildPid Pid + ChildTgid Pid + ParentPid Pid + ParentTgid Pid + type Pid uint32 + type ProcEvent struct + func (p *ProcEvent) GetComm() Comm + func (p *ProcEvent) GetExec() Exec + func (p *ProcEvent) GetExit() Exit + func (p *ProcEvent) GetFork() Fork + func (p *ProcEvent) GetHeader() ProcEventHeader + func (p *ProcEvent) GetType() ProcEventType + type ProcEventHeader struct + CPU uint32 + Timestamps uint64 + Type ProcEventType + type ProcEventType uint32 + type WatchEvent struct + Err error + type Watcher interface + Events func() <-chan WatchEvent + Start func() error + Stop func() + func NewProcessWatcher() Watcher