disk

package
v0.0.0-...-0d6890e Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disk

type Disk struct {
	Device           string  `label:"Device"`
	Mountpoint       string  `label:"Mount"`
	Fstype           string  `label:"Type"`
	Total            uint64  `label:"Total"`
	Free             uint64  `label:"Free"`
	Used             uint64  `label:"Used"`
	UsedPercent      float64 `label:"Used%"`
	InodeUsedPercent float64 `label:"Inode"`
	RBytePerS        float64 `label:"R/S"`
	WBytePerS        float64 `label:"W/S"`
	Util             float64 `label:"Util%"`
}

func GetDiskPartitons

func GetDiskPartitons() []Disk

func GetDisksIO

func GetDisksIO(disksInfo []Disk) []Disk

func GetDisksUsage

func GetDisksUsage(disksInfo []Disk) []Disk

Jump to

Keyboard shortcuts

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