disk

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats struct {
	Name            string // device name; like "hda"
	ReadsCompleted  uint64 // total number of reads completed successfully
	WritesCompleted uint64 // total number of writes completed successfully
}

Stats represents disk I/O statistics for linux.

func Get

func Get() ([]Stats, error)

Get disk I/O statistics.

Jump to

Keyboard shortcuts

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