procbin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(globalConfig define.Config, taskConfig define.TaskConfig) define.Task

Types

type Event

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

func (*Event) AsMapStr

func (e *Event) AsMapStr() common.MapStr

func (*Event) GetType

func (e *Event) GetType() string

func (*Event) IgnoreCMDBLevel

func (e *Event) IgnoreCMDBLevel() bool

type Gather

type Gather struct {
	tasks.BaseTask
	// contains filtered or unexported fields
}

func (*Gather) Run

func (g *Gather) Run(ctx context.Context, e chan<- define.Event)

type ProcBin

type ProcBin struct {
	Pid         int32  `json:"pid"`
	PPid        int32  `json:"ppid"`
	Uid         uint32 `json:"uid"`
	MD5         string `json:"md5"`
	Path        string `json:"path"`
	Size        int64  `json:"size"`
	Modify      int64  `json:"modify"`
	Change      int64  `json:"change"`
	Access      int64  `json:"access"`
	MountSource string `json:"mountSource"`
	IsLargeBin  bool   `json:"isLargeBin"`
	IsDeleted   bool   `json:"isDeleted"`
}

type StatInfo

type StatInfo struct {
	Path       string
	Size       int64
	Uid        uint32
	MD5        string
	Modify     time.Time
	Access     time.Time
	Change     time.Time
	IsLargeBin bool
	IsDeleted  bool
}

Jump to

Keyboard shortcuts

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