rtwatcher

package
v0.0.0-...-98ed532 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const CfgKey = "runtime-watchers"

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Instance, an analytics) *Watcher

func (*Watcher) Close

func (w *Watcher) Close() error

func (*Watcher) GetProcessesInUse

func (w *Watcher) GetProcessesInUse(execDir string) []entry

func (*Watcher) RecordUsage

func (w *Watcher) RecordUsage(e entry)

func (*Watcher) Watch

func (w *Watcher) Watch(pid int, exec, source string, dims *dimensions.Values)

Jump to

Keyboard shortcuts

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