package
9.6.0+incompatible
Repository: https://github.com/joshuar/go-hass-agent.git
Documentation: pkg.go.dev

# Packages

nolint.

# Functions

DeviceStats will retrieve the stats for the given device.
ReadDiskStatsFromProcFS reads /proc/diskstats and returns a map of devices, which in turn contains a map of disk stats for the given device.
ReadDiskStatsFromSysFS will read the individual stat files for block devices from sysfs and returns a map of devices, which in turn contains a map of disk stats for the given device.

# Constants

I/Os currently in progress.
Milliseconds elapsed spent doing I/Os.
Milliseconds elapsed spent doing I/Os (weighted).
Total discards completed.
Total discards merged.
Total flush requests completed.
Total reads completed.
Total reads merged.
Total sectors discarded.
Total sectors read.
Total sectors written.
Total milliseconds spent discarding.
Total milliseconds spent flushing.
Total milliseconds spent reading.
Total milliseconds spent writing.
Total writes completed.
Total writes merged.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

Stat represents a specific statistic recorded by the kernel for the associated disk.