processes

package
v0.0.0-...-4316413 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 4 Imported by: 5

Documentation

Overview

Package processes regroups collecting information about existing processes

Package processes regroups collecting information about running processes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessField

type ProcessField [7]interface{}

ProcessField is an untyped representation of a process group, compatible with the legacy "processes" resource check.

type Processes

type Processes struct{}

Processes is the Collector type of the processes package.

func (*Processes) Collect

func (processes *Processes) Collect() (result interface{}, err error)

Collect collects the processes information. Returns an object which can be converted to a JSON or an error if nothing could be collected. Tries to collect as much information as possible.

func (*Processes) Name

func (processes *Processes) Name() string

Name returns the name of the package

Directories

Path Synopsis
Package gops extracts the information on running processes from gopsutil
Package gops extracts the information on running processes from gopsutil

Jump to

Keyboard shortcuts

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