PackageTrack
Sign in Get early access

procfs-core

Data structures and parsing for the linux procfs pseudo-filesystem

0.18.0 56M downloads/mo #1144 most downloaded on crates.io eminence/procfs

What this package is like to depend on

Last release 11 months ago

30 Aug 2025

Ships fairly regularly

a new release about every 11 months

Nearly every release is documented

notes for 3 of 3 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

4 releases · first in 2023

1 release in the last 12 months

see the full history below

Release timeline

4 releases · Jun 2023 to Aug 2025
2024 2025 2026
Release Pre-release

Releases

latest 4
  1. 0.18.0 30 Aug 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v0.17.0...v0.18.0

    Open source →
  2. 0.17.0 07 Oct 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v0.16.0...v0.17.0

    Open source →
  3. 0.16.0 29 Oct 2023
    Release notes

    This release contains a fairly large internal restructuring, which has noticeable public API changes. A lot of core functionality has been brought into a new procfs-core crate that contains platform-independent data structures and parsing. This crate can be used on all platforms. The procfs crate now depends on procfs-core, and contains all of the Linux-specific code (and thus remains only usable on Linux).

    Some procfs functions require information about the running system. For example, the rss_bytes() function needs to know the page size. These functions now have a more complicated API. See the docs for more information, but generally you now have to add a call to .get(), for example:

    Old:

    let prc = procfs::process::Process::myself().unwrap();
    let stat = prc.stat().unwrap();
    println!("RSS:   {} bytes", stat.rss_bytes());

    New:

    use procfs::prelude::*;  // to bring `WithCurrentSystemInfo` into scope
    
    let prc = procfs::process::Process::myself().unwrap();
    let stat = prc.stat().unwrap();
    println!("RSS:   {} bytes", stat.rss_bytes().get());

    We think this new complication is unavoidable, but if you have some thoughts on this, your ideas are welcome in a new issue or discussion thread

    New Features

    Bug Fixes

    • Don't hide process creation errors in all_processes by @tatref in #260
    • Fix O_PATH for old kernels by @tatref in #266

    Full Changelog: v0.15.1...v0.16.0

    Open source →
  4. 0.16.0-RC1 20 Jun 2023 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive