io

package
v0.0.0-...-eac16e3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: GPL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BASE_PATH string = "/sys/block/"

Functions

This section is empty.

Types

type IOStat

type IOStat struct {
	Name           string
	SectorsRead    float64
	SectorsWritten float64
}

type IOStatDiff

type IOStatDiff struct {
	Name         string
	BytesRead    float64
	BytesWritten float64
}

func GetIOStats

func GetIOStats(c *conf.ConfigurationManager) []IOStatDiff

Jump to

Keyboard shortcuts

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