Registry / utility / cloudfoundry-gosigar

cloudfoundry-gosigar

JSON →
library1.3.121gogounverified

Provides system information and metrics collection for Go applications, ported from the Java SIGAR library.

go get github.com/cloudfoundry/gosigar
INSTALL
IMPORT
SIG · CLOUDFOUNDRY-GOSIG
C
cloudfoundry-gosigar
utilitygov1.3.121
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.

gosigar
github.com/cloudfoundry/gosigar

Gets and prints total system memory.

package main import ( "fmt" "github.com/cloudfoundry/gosigar" ) func main() { mem := sigar.Mem{} mem.Get() fmt.Printf("Total memory: %d\n", mem.Total) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
cloudfoundry-gosigar — go get cloudfoundry-gosigar · libregistry