listProcess

package
v0.0.0-...-5e392d4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListLog

func ListLog(vbmode bool) error

Types

type Process

type Process struct {
	Pid   string `json:"pid"`
	Cmd   string `json:"cmd"`
	PPid  string `json:"ppid"`
	Uid   string `json:"uid"`
	Gid   string `json:"gid"`
	Etime string `json:"time"`
}

func GetOneProcess

func GetOneProcess(pid string, slog *logrus.Entry, vbmode bool) (Process, error)

func ProcessList

func ProcessList(slog *logrus.Entry, vbmode bool) ([]Process, error)

Jump to

Keyboard shortcuts

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