Help us shape the future of Go! Take the 2026 Go Developer Survey

sysinfo

package
v1.65.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SysinfoCmd = &cobra.Command{
	Use:   "sysinfo",
	Short: "Show system diagnostics (CPU, memory, disk, network)",
	Long: `Collects best-effort system diagnostics and prints them as a formatted table.

Works across Raspberry Pi, Fedora, Ubuntu, and macOS. Fields that cannot be
determined render as "n/a", so the command always succeeds.`,
	Example: `  eng sysinfo
  eng sysinfo --output json
  eng sysinfo --output yaml --timeout 5s`,
	RunE: func(cmd *cobra.Command, _ []string) error {
		return runSysinfo(cmd)
	},
}

SysinfoCmd prints cross-platform system diagnostics in a formatted table.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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