# procfs (Go)

> Read system, kernel and process metrics from /proc and /sys in Go

Source: https://talira.ai/catalog/procfs-go-dd9cjd6r
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / system information](https://talira.ai/categories/libraries/system-information), [languages / go](https://talira.ai/categories/languages/go)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (Apache-2.0).
- Free tier: yes[^1]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Funding: non-profit[^3][^4]

procfs is a Go library from the [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md) project that reads system, kernel and process metrics from the /proc and /sys pseudo-filesystems. Its packages are organised by where the data comes from and what it is: process information is in the root package, and sub-packages such as blockdevice cover device statistics. Each package has an FS type for the mount point to read from.

## Links

- GitHub: https://github.com/prometheus/procfs
- Docs: https://pkg.go.dev/github.com/prometheus/procfs

## Problems it solves

- read CPU and process statistics from /proc in my Go program without parsing the files myself
- collect disk and block device metrics on Linux from Go
- build a metrics exporter that reports what the kernel exposes in /proc and /sys

## Features

- CPU, kernel and process statistics from /proc
- block device and other statistics from /sys
- FS type per package for the mount points to read

## Limitations

- A work in progress: its API may still change in backwards-incompatible ways without warning.[^1]

## Trust

Overall: 0.51 out of 1.
Signals: maintenance 0.55, adoption 0.59, momentum 0.26, community 0.94, backing 0.55, extensibility 0.00.

- last commit 38 days ago
- 15 commits in the last 90 days
- latest release v0.23.0 37 days ago
- 888 GitHub stars
- 226 contributors
- backed by Cloud Native Computing Foundation
- funding: non-profit

## Sources

[^1]: https://github.com/prometheus/procfs/blob/master/README.md (checked 29 Nov 2026)
[^2]: https://github.com/prometheus/procfs/blob/master/LICENSE (checked 29 Nov 2026)
[^3]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^4]: https://www.cncf.io/ (checked 20 Nov 2026)
