Documentation
¶
Index ¶
- func DiskUsage() (total uint64, free uint64, used uint64, err error)
- func GetConfig() *client.Config
- func HumanReadableBytes(bytes uint64) string
- func LoadConfig(filePath string) error
- func MemoryUsage() (total uint64, free uint64, used uint64)
- func RAMUsage() (total uint64, free uint64, used uint64)
- func Uptime() (uptime time.Duration, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HumanReadableBytes ¶
HumanReadableBytes converts bytes to a human-readable string.
func MemoryUsage ¶
MemoryUsage returns the total, free, and used memory in bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.