systemreporter

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogBased

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

func NewLogBased

func NewLogBased(threshold time.Duration, cmdRunner commandrunner.CommandRunner) *LogBased

func (*LogBased) Report

func (r *LogBased) Report(logger lager.Logger, duration time.Duration)

type Report

type Report struct {
	TopProcessesByCPU    string `json:"top_processes_by_cpu"`
	TopProcessesByMemory string `json:"top_processes_by_memory"`
	Dmesg                string `json:"dmesg"`

	PidStat string `json:"pid_stat"`
	VmStat  string `json:"vm_stat"`
	MpStat  string `json:"mp_stat"`
	IoStat  string `json:"io_stat"`
}

Jump to

Keyboard shortcuts

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