Registry / utility / zcalusic-sysinfo

zcalusic-sysinfo

JSON →
library1.1.3gogounverified

A Go library for retrieving Linux OS, kernel, and hardware system information.

go get github.com/zcalusic/sysinfo
INSTALL
IMPORT
SIG · ZCALUSIC-SYSINFO
Z
zcalusic-sysinfo
utilitygov1.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sysinfo
github.com/zcalusic/sysinfo

Retrieves and prints the hostname and OS information.

package main import ( "fmt" "github.com/zcalusic/sysinfo" ) func main() { var si sysinfo.SysInfo si.GetSysInfo() fmt.Printf("Hostname: %s\n", si.Node.Hostname) fmt.Printf("OS: %s %s\n", si.OS.Name, si.OS.Version) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources
zcalusic-sysinfo — go get zcalusic-sysinfo · libregistry