exec

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecveArg

type ExecveArg struct {
	PID uint32

	Arg [256]byte
	// contains filtered or unexported fields
}

func (ExecveArg) String

func (e ExecveArg) String() string

type ExecveData

type ExecveData struct {
	KTimeNS         time.Duration
	RealStartTimeNS time.Duration
	PID             uint32
	UID             uint32
	GID             uint32
	PPID            uint32
	Comm            [16]byte
}

func (ExecveData) String

func (e ExecveData) String() string

type ExecveRtn

type ExecveRtn struct {
	PID        uint32
	ReturnCode int32
}

func (ExecveRtn) String

func (e ExecveRtn) String() string

type ExitData

type ExitData struct {
	KTime uint64
	PID   uint32
}

func (ExitData) String

func (e ExitData) String() string

type ProcessError

type ProcessError struct {
	Type string `json:"type"`

	ErrorCode int32 `json:"error_code"`
	// contains filtered or unexported fields
}

type ProcessExited

type ProcessExited struct {
	Type string `json:"type"`

	EndTime     time.Time     `json:"end_time"`
	RunningTime time.Duration `json:"running_time_ns"`
	// contains filtered or unexported fields
}

type ProcessMonitor

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

func NewMonitor

func NewMonitor() (*ProcessMonitor, error)

func (*ProcessMonitor) Start

func (m *ProcessMonitor) Start(done <-chan struct{}) (<-chan interface{}, error)

type ProcessStarted

type ProcessStarted struct {
	Type string `json:"type"`
	// contains filtered or unexported fields
}

Proc

Jump to

Keyboard shortcuts

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