sysproctrack

package
v1.1.0-beta.0...-57a73ea Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrackProc

type TrackProc interface {
	// GetSessionVars gets the session variables.
	GetSessionVars() *variable.SessionVars
	// ShowProcess returns ProcessInfo running in current Context
	ShowProcess() *util.ProcessInfo
}

TrackProc is an interface for a process to track

type Tracker

type Tracker interface {
	Track(id uint64, proc TrackProc) error
	UnTrack(id uint64)
	GetSysProcessList() map[uint64]*util.ProcessInfo
	KillSysProcess(id uint64)
}

Tracker is an interface to track system processes.

Jump to

Keyboard shortcuts

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