Registry / utility / c9s-goprocinfo

c9s-goprocinfo

JSON →
library0.0.0-20210130143923-c95fcf8c64a8gogounverified

A Go library for reading Linux process information from /proc.

go get github.com/c9s/goprocinfo
INSTALL
IMPORT
SIG · C9S-GOPROCINFO
C
c9s-goprocinfo
utilitygov0.0.0-20210130143923-c95fcf8c64a8
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.

goprocinfo
github.com/c9s/goprocinfo

Reads process statistics for PID 1.

package main import ( "fmt" "github.com/c9s/goprocinfo" ) func main() { stat, err := goprocinfo.ReadProcessStat(1) if err != nil { panic(err) } fmt.Printf("Process 1: %+v\n", stat) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210130143923-c95fcf8c64a8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
c9s-goprocinfo — go get c9s-goprocinfo · libregistry