shirou/gopsutil
psutil for golang observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 95
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 30.0
- age_days: 4520
- days_rel: 32
- days_push: 7
- n_releases_24m: 23
Adoption not part of the score
11902 stars · 1683 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
gopsutil is a Go port of Python's psutil library for retrieving system information such as CPU, memory, disk, network, and process metrics. It is implemented without cgo by porting C structs to Go, and supports Linux, Windows, macOS, BSD variants, and Solaris.
Use cases
- get cpu and memory usage in a go program
- monitor system processes from go
- collect disk and network stats for a monitoring agent
- build a system metrics exporter in golang
- read host information without cgo
- query virtual memory usage cross-platform
When to choose
- you need psutil-like system metrics in a Go application
- you want a pure-Go solution with no cgo dependency
- you need cross-platform support including Linux, Windows, macOS, and BSD
- you are building monitoring agents or exporters
When to avoid
- you need psutil in Python rather than Go
- you need metrics on an unsupported architecture
- you need deep low-level kernel instrumentation beyond psutil's scope
Facets
library · maturity stable
monitoring developer-tools developer-tools monitoring operating-systems windows bsd go cross-platform psutil system-information cgo-free process-monitoring hardware-metrics linux macos
1 source
- readme: https://github.com/shirou/gopsutil · fetched 2026-08-28 · 6b49a260252c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| shirou/gopsutil | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem