Registry / utility / containers-psgo

containers-psgo

JSON →
library1.10.0gogounverified

Package psgo is a ps (1) AIX-format compatible golang library extended with various descriptors useful for displaying container-related data.

go get github.com/containers/psgo
INSTALL
IMPORT
SIG · CONTAINERS-PSGO
C
containers-psgo
utilitygov1.10.0
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.

psgo
github.com/containers/psgo

Retrieve process information using psgo.

package main import ( "fmt" "github.com/containers/psgo" ) func main() { processes, err := psgo.ProcessInfo("pid,comm") if err != nil { panic(err) } for _, p := range processes { fmt.Println(p) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
containers-psgo — go get containers-psgo · libregistry