A Rust library for reading information from /proc
, the Linux process
information psuedo-filesystem. procinfo
provides a simple interface for inspecting
process and system information on Linux.
The goal is that procinfo
will provide interfaces for all of the files in /proc
,
currently the following interfaces are provided:
/proc/loadavg
/proc/<pid>/statm
/proc/<pid>/status
Contributions will be gladly accepted for new /proc
file parsers. In addition
to parsers, help is needed testing procinfo
on uncommon, old, bleeding edge,
containerized, and namespaced kernels. If you find that any of the documentation
is misleading, incomplete, or insufficient, please file an issue!
procinfo
is primarily distributed under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2015 Dan Burkert.