process

package
v0.0.0-...-2a2e17e Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Process

type Process struct {
	Pid        int32   `toml:"pid"`
	Name       string  `toml:"name"`
	Exe        string  `toml:"exe"`
	Status     string  `toml:"status"`
	Uids       []int32 `toml:"uids"`
	Gids       []int32 `toml:"gids"`
	NumThreads int32   `toml:"num_threads"`
	CreateTime int64   `toml:"create_time"`
	CpuPercent float64 `toml:"cpu_percent"`
	CmdLine    string  `toml:"cmd_line"`
	NumFDs     int32   `toml:"num_fds"`
	UserName   string  `toml:"user_name"`
}

func (*Process) Description

func (_ *Process) Description() string

func (*Process) Gather

func (s *Process) Gather(acc plugins.Accumulator) error

func (*Process) SampleConfig

func (_ *Process) SampleConfig() string

Jump to

Keyboard shortcuts

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