Skip to content

A Rust library for accessing Linux process and system information

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

danburkert/procinfo-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Rust library for accessing Linux process and system information

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages