system

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtoTCP    = 1
	ProtoUDP    = 2
	MaxLogLines = 1000
)
View Source
const (
	HypervisorNone       = ""
	HypervisorVMware     = "VMware"
	HypervisorVirtualBox = "VirtualBox"
	HypervisorKVM        = "KVM"
	HypervisorHyperV     = "Hyper-V"
	HypervisorQEMU       = "QEMU"
	HypervisorXen        = "Xen"
	HypervisorParallels  = "Parallels"
	HypervisorBhyve      = "Bhyve"
	HypervisorOpenVZ     = "OpenVZ"
	HypervisorLXC        = "LXC"
	HypervisorUnknown    = "Unknown"
)

Variables

This section is empty.

Functions

func BatteryCmd

func BatteryCmd() tea.Cmd

func ConnectionsCmd

func ConnectionsCmd() tea.Cmd

func ContainerCmd added in v0.5.0

func ContainerCmd() tea.Cmd

func DetectHardware added in v0.5.0

func DetectHardware() *data.HardwareCapabilities

func DiskIOCmd

func DiskIOCmd() tea.Cmd

DiskIOCmd fetches disk I/O statistics

func DiskInfoCmd

func DiskInfoCmd() tea.Cmd

DiskInfoCmd fetches disk partition information

func FastMetricsCmd

func FastMetricsCmd() tea.Cmd

func GetHypervisorType added in v0.5.0

func GetHypervisorType() string

func GpuInfoCmd

func GpuInfoCmd() tea.Cmd

func HasDocker added in v0.5.0

func HasDocker() bool

func HasKubernetes added in v0.5.0

func HasKubernetes() bool

func HostInfoCmd

func HostInfoCmd() tea.Cmd

func IsVM added in v0.5.0

func IsVM() bool

func NetworkInterfacesCmd

func NetworkInterfacesCmd() tea.Cmd

NetworkInterfacesCmd fetches network interface stats

func ServicesCmd

func ServicesCmd() tea.Cmd

func SlowMetricsCmd

func SlowMetricsCmd() tea.Cmd

func SystemLogsCmd

func SystemLogsCmd() tea.Cmd

func TempCmd

func TempCmd() tea.Cmd

func TickCmd

func TickCmd(d time.Duration) tea.Cmd

func VmCmd added in v0.5.0

func VmCmd() tea.Cmd

Types

This section is empty.

Jump to

Keyboard shortcuts

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