containerd/cgroups
cgroups package for Go observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 98
- Release rhythm 70
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 28
- age_days: 3613
- days_rel: 201
- days_push: 16
- n_releases_24m: 6
Adoption not part of the score
1191 stars · 251 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go package for creating, managing, inspecting, and destroying Linux cgroups, supporting both cgroup v1 and v2 hierarchies. It uses the OCI runtime-spec resource format and is maintained by the containerd project.
Use cases
- manage linux cgroups from a go application
- limit cpu and memory usage of processes
- create systemd slices for process groups
- monitor cgroup memory and cpu stats
- freeze and thaw process groups
- move processes between cgroups
- get notified on cgroup memory events
When to choose
- you need programmatic cgroup management in Go
- you are building a container runtime or process supervisor
- you need both cgroup v1 and v2 support
- you want OCI runtime-spec compatible resource constraints
When to avoid
- you need cgroup management outside Go
- you target non-Linux platforms
- you just want to inspect cgroups from the shell (use systemd or cgget tools)
- you need a full container runtime rather than a cgroup library
Facets
library · maturity active
developer-tools configuration-management monitoring operating-systems developer-tools go cgroups cgroup-v1 cgroup-v2 systemd oci-runtime-spec resource-limits container-runtime process-isolation containers devops linux
9 sources
- readme: https://github.com/containerd/cgroups · fetched 2026-08-28 · 475886169738
- homepage: https://containerd.io · fetched 2026-08-29 · 69b5c5503c4b
- site_page: https://containerd.io/docs/main · fetched 2026-08-29 · 8078c32986f0
- site_page: https://containerd.io/docs/2.3/getting-started · fetched 2026-08-29 · 192f6d6560df
- site_page: https://containerd.io/docs/2.3 · fetched 2026-08-29 · 173e868c8a54
- site_page: https://containerd.io/docs/2.2 · fetched 2026-08-29 · 336a5f40a8e6
- site_page: https://containerd.io/docs/2.1 · fetched 2026-08-29 · 1779e2bd4338
- site_page: https://containerd.io/docs/1.7 · fetched 2026-08-29 · e1cbd4ed3093
- site_page: https://containerd.io/releases · fetched 2026-08-29 · 4396785a01ad
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| containerd/cgroups | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="containerd/cgroups")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem