10 unstable releases (3 breaking)

Uses old Rust 2015

0.4.2 Jun 25, 2017
0.4.1 May 11, 2017
0.4.0 Apr 30, 2017
0.3.1 Nov 10, 2016
0.1.1 Aug 29, 2015

#638 in Unix APIs

Download history 3417/week @ 2024-07-19 2903/week @ 2024-07-26 2271/week @ 2024-08-02 3300/week @ 2024-08-09 3647/week @ 2024-08-16 3690/week @ 2024-08-23 3981/week @ 2024-08-30 3362/week @ 2024-09-06 3206/week @ 2024-09-13 3676/week @ 2024-09-20 5915/week @ 2024-09-27 8415/week @ 2024-10-04 5868/week @ 2024-10-11 5578/week @ 2024-10-18 7458/week @ 2024-10-25 5422/week @ 2024-11-01

25,769 downloads per month
Used in 61 crates (15 directly)

MIT/Apache

99KB
1.5K SLoC

procinfo

Build Status

Documentation

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.

Status

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>/cwd
  • /proc/<pid>/limits
  • /proc/<pid>/mountinfo
  • /proc/<pid>/stat
  • /proc/<pid>/statm
  • /proc/<pid>/status
  • /proc/sys/fs/file-max
  • /proc/net/dev

procinfo requires Rust 1.13 or later.

Contributing

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!

License

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.

Dependencies

~1MB
~17K SLoC