jvmcollect

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 16 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 CaptureFlagsFromPID

func CaptureFlagsFromPID(pid int) (string, error)

func OnLoop

func OnLoop(pid, interval, 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(interval, pid int) error

type TtopService

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

Jump to

Keyboard shortcuts

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