jvmcollect

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

package jvmcollect handles parsing of the jvm information

package jvmcollect handles parsing of the jvm information

package jvmcollect handles parsing of the jvm information

package jvmcollect handles parsing of the jvm information

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnLoop

func OnLoop(ttopArgs TtopArgs, duration int, outDir string, ttopService TtopService, timeTicker TimeTicker) error

func RunCollectHeapDump

func RunCollectHeapDump(c *conf.CollectConf) error

func RunCollectJFR

func RunCollectJFR(c *conf.CollectConf) error

func RunCollectJStacks

func RunCollectJStacks(c *conf.CollectConf) error

func RunCollectJStacksWithTimeService

func RunCollectJStacksWithTimeService(c *conf.CollectConf, timer func() time.Time) error

func RunCollectJVMFlags

func RunCollectJVMFlags(c *conf.CollectConf) error

RunCollectJVM collects JVM flags from a java process

func RunTtopCollect

func RunTtopCollect(c *conf.CollectConf) error

Types

type DateTimeTicker

type DateTimeTicker struct {
}

func (*DateTimeTicker) WaitSeconds

func (d *DateTimeTicker) WaitSeconds(interval int)

type TimeTicker

type TimeTicker interface {
	WaitSeconds(int)
}

type Ttop

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

Ttop provides access to the ttop sjk.jar application

func (*Ttop) KillTtop

func (t *Ttop) KillTtop() (string, error)

func (*Ttop) StartTtop

func (t *Ttop) StartTtop(args TtopArgs) error

type TtopArgs added in v0.7.0

type TtopArgs struct {
	Interval int
	PID      int
}

type TtopService

type TtopService interface {
	StartTtop(TtopArgs) error
	KillTtop() (string, error)
}

Jump to

Keyboard shortcuts

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