types

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShowThreadsParam = "show-threads"
)

Variables

This section is empty.

Functions

func GetColumns added in v0.11.0

func GetColumns() *columns.Columns[Event]

func PrintTree added in v0.16.0

func PrintTree(processes []*Event) error

func WriteTree added in v0.16.0

func WriteTree(output io.Writer, processes []*Event) error

Types

type Event

type Event struct {
	eventtypes.Event
	eventtypes.WithMountNsID

	Command   string `json:"comm" column:"comm,template:comm"`
	Pid       int    `json:"pid" column:"pid,template:pid"`
	Tid       int    `json:"tid" column:"tid,template:pid" columnTags:"param:threads"`
	Uid       uint32 `json:"uid" column:"uid,template:uid"`
	Gid       uint32 `json:"gid" column:"gid,template:gid"`
	ParentPid int    `json:"ppid" column:"ppid,template:pid,hide"`
}

Jump to

Keyboard shortcuts

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