metricsTop

package
v0.0.0-...-d6d71be Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: MIT Imports: 8 Imported by: 1

Documentation

Overview

package metricsTop implements collect system load and memory usage related monitor metrics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fields

func Fields(line string) []string

Fields customs strings.Fields for parse linux top output does not break command column into parts.

func Gets

func Gets() ([]datapoint.DataPoint, error)

Gets returns CPU and memory usage from `top`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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