NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #997 most downloaded on crates.io
Interface to the linux procfs pseudo-filesystem
Latest stable
0.18.0
Last release 1 years ago
30 Aug 2025
Release timing varies
gaps range from 8 days to 11 months
Most releases are documented
notes for 30 of 49 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
51 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Enable generate-link-to-definition rustdoc feature on docs.rs by @GuillaumeGomez in https://github.com/eminence/procfs/pull/320
generate-link-to-definition rustdoc feature on docs.rs by @GuillaumeGomez in https://github.com/eminence/procfs/pull/320full record to CpuPressure by @SebastiaanYN in https://github.com/eminence/procfs/pull/338rustix to 1.0.1 by @cratelyn in https://github.com/eminence/procfs/pull/340crate with $crate in our macro definitions by @eminence in https://github.com/eminence/procfs/pull/358Full Changelog: https://github.com/eminence/procfs/compare/v0.17.0...v0.18.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
cgroups: skip empty controllers by @eliad-wiz in https://github.com/eminence/procfs/pull/292
Meminfo.s_reclaimable. by @carletes in https://github.com/eminence/procfs/pull/306Full Changelog: https://github.com/eminence/procfs/compare/v0.16.0...v0.17.0
This release contains a fairly large internal restructuring, which has noticeable public API changes. A lot of core functionality has been brought int
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
Full Changelog: https://github.com/eminence/procfs/compare/v0.15.1...v0.16.0
Nothing published for this version
Change Stat::comm documentation by @rust1248 in https://github.com/eminence/procfs/pull/251
Full Changelog: https://github.com/eminence/procfs/compare/v0.15.0...v0.15.1
fix chrono::Local::timestamp deprecated in chrono 0.4.23 by @tatref in https://github.com/eminence/procfs/pull/220
/proc/meminfo fields. by @afranchuk in https://github.com/eminence/procfs/pull/238Full Changelog: https://github.com/eminence/procfs/compare/v0.14.2...v0.15.0
This v0.15 release is only tested against the latest stable rust compiler, but is known to work with older versions (down to rust 1.48). Support for these older compilers may break in procfs patch releases. See also #223
Process: Namespace: Use openat instead of building a path by @arilou in https://github.com/eminence/procfs/pull/192
chrono crate by @Will-Low in https://github.com/eminence/procfs/pull/210Full Changelog: https://github.com/eminence/procfs/compare/v0.14.0...v0.14.2
Don't consider Zombies to be alive by @eminence in https://github.com/eminence/procfs/pull/201
Full Changelog: https://github.com/eminence/procfs/compare/v0.14.0...v0.14.1
Process: namespaces: Change from Vec to HashMap by @arilou in https://github.com/eminence/procfs/pull/185
Full Changelog: https://github.com/eminence/procfs/compare/v0.13.2...v0.14.0
Don't consider Zombies to be alive by @eminence in https://github.com/eminence/procfs/pull/199
Full Changelog: https://github.com/eminence/procfs/compare/v0.13.2...v0.13.3
Re-introduce all_processes_with_root. by @sunfishcode in https://github.com/eminence/procfs/pull/184
all_processes_with_root. by @sunfishcode in https://github.com/eminence/procfs/pull/184Note: This fix is technically a breaking change, as the return value for a public API changed from HashMap to HashMap . However, since this function h…
Note: This fix is technically a breaking change, as the return value for a public API changed from HashMap<u32, u32> to HashMap<u64, u64>. However, since this function has been 100% broken for 4 years, I feel confident that no one is actually using this API.
Full Changelog: https://github.com/eminence/procfs/compare/v0.13.0...v0.13.1
This release has several breaking API changes you should be aware of:
This release has several breaking API changes you should be aware of:
Process struct has been changed in some important ways:
/proc/<pid> directory. So each Process will have an open file handle, which can matter in extreme cases when you have a large number of Process objects created.Process has a handle to its opened proc directory, there is no longer any PID reuse problems (that is, there is no risk of accidentally getting process information for a new process that has reused a PID)Process no longer implements Clone.Process no longer has a public member stats member that gets pre-populated on construction. If you want this info, you now need to explicitly call the Process::stat() function/proc/<pid>/pagemap by @EliaGeretto in https://github.com/eminence/procfs/pull/166test_task_runsinglethread test. by @sunfishcode in https://github.com/eminence/procfs/pull/169CpuInfo performances by @macisamuele in https://github.com/eminence/procfs/pull/168Full Changelog: https://github.com/eminence/procfs/compare/v0.12.0...v0.13.0
Nothing published for this version
Make the flate2 dependency optional by @eminence in https://github.com/eminence/procfs/pull/157
The flate2 dependencies was used only in the kernel_config method, which would try to read a compressed /proc/config.gz file if it existed. The flate2 dependency is now optional (and enabled by default). If you are using procfs with "default-features = false" and you are using the kernel_config method, pay special attention here -- you might want to manually enable the flate2 feature.
Full Changelog: https://github.com/eminence/procfs/compare/v0.11.0...v0.12.0
fix: 32bit signed int by @tatref in https://github.com/eminence/procfs/pull/153
On 64-bit machines, this change should have no impact on behavior, but it is still a breaking change as these types are part of the public API.
procfs panic even less, but as the cost of a breaking API change that wraps the return value of some functions in a ResultFull Changelog: https://github.com/eminence/procfs/compare/v0.10.1...v0.11.0
Note The v0.10.1 release was actually released August 26, 2021. This release created in github was done after the fact
Note The v0.10.1 release was actually released August 26, 2021. This release created in github was done after the fact
Full Changelog: https://github.com/eminence/procfs/compare/v0.10.0...v0.10.1
Use u16 for kernel patch version number #137
Nothing published for this version
Please note that this are several API incompatible changes, compared to the 0.8.x release. Also, the Minimum Supported Rust Version has been changed f
Please note that this are several API incompatible changes, compared to the 0.8.x release. Also, the Minimum Supported Rust Version has been changed from 1.33.0 to 1.34.0
/proc/[pid]/task/[tid]/status (#110)A new method Process::task_main_thread to get the task for the main thread
(Released September 8, 2020)
Process::task_main_thread to get the task for the main thread (#93)Task::Io() (#91)/proc/cpuinfo on systems that add extra info at the end of the file (like on a Raspberry Pi) (#92)Several new sysctl functions are added, in the following areas:
Several new sysctl functions are added, in the following areas:
Support for parsing new files, in the following areas:
Update version of libflate to v1.0. #73
New Features:
Cache boottime to improve performance (for example, when calling starttime()). #64
New features:
starttime()). #64Bug fixes:
UDP sockets and Unix sockets now have state information
New features:
Process::root(), and better documentation for related methods (#59)Bug fixes:
starttime, guest_time, and cguest_time fields have a fixed datatype (#58)read_tcp_table and read_udp_table are now public, which can be used when your procfs mount isn't in the normal /proc location.
New features:
read_tcp_table and read_udp_table are now public, which can be used when your procfs mount isn't in the normal /proc location. (#57)Process::new_with_root, which can be used to create a process from an arbitrary /proc/<pid> path (#56)Add a mode field to FDInfo struct
New features:
mode field to FDInfo structpid field to the Process structFixes:
wrap_io_error in Process::fd() to better capture the path involved in case of an IO errorFix a documentation comment that was preventing docs.rs from building successfully
New features:
Bug fixes:
The following free functions are deprecated:
New features:
net::unix()).Copy and Clone for the process::Io structCopy for the Limit and LimitValue structs.Process::stat() to get stat infoProcess::statm() to get memory stat infoOther changes:
The following free functions are deprecated:
cpuinfo() has been replaced with CpuInfo::new()cpu_pressure() has been replaced with CpuPressure::new()io_pressure() has been replaced with IoPressure::new()memory_pressure() has been replaced with MemoryPressure::new()Remove an errant call to println! in the cpuinfo() function. Oops!
Bug fixes:
println! in the cpuinfo() function. Oops!i32 to u32StatFlags constantsNew features:
/proc/vmstat/proc/pid/oom_score/proc/pid/mountinfoFix two issues when running on 32-bit linux
Bug fixes:
New features:
dev_status() to return network interface statsOther changes:
all_processes() encounters an internal error while constructing a process, it will be returned (instead of being ignored)Re-introduction of the process and net modules [breaking change]
New features:
process and net modules [breaking change]limits() to return process limits (same as the ulimit command)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.