top

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTopCmd

func NewTopCmd() *cobra.Command

Types

type EbpfParser

type EbpfParser struct {
	commonutils.BaseParser[types.Stats]
	// contains filtered or unexported fields
}

type TopGadget added in v0.11.0

type TopGadget[Stats any] struct {
	commontop.TopGadget[Stats]
	sync.Mutex
	// contains filtered or unexported fields
}

TopGadget represents a gadget belonging to the top category.

func (*TopGadget[Stats]) Callback added in v0.11.0

func (g *TopGadget[Stats]) Callback(line string, node string)

func (*TopGadget[Stats]) Run added in v0.11.0

func (g *TopGadget[Stats]) Run(args []string) error

func (*TopGadget[Stats]) StartPrintLoop added in v0.11.0

func (g *TopGadget[Stats]) StartPrintLoop()

Jump to

Keyboard shortcuts

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