procmaps.rs
procfs
procmaps.rs | procfs | |
---|---|---|
1 | 2 | |
12 | 344 | |
- | - | |
5.4 | 6.6 | |
8 months ago | 10 days ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
procmaps.rs
-
Linux /proc/pid/stat parsing bugs
The /proc//* hierarchy has always been a bit of a mess to parse.
/proc//maps is similarly frustrating: there's no clear distinction between "special" maps (like the stack) and a file that might just happen to be named `[stack]`. Similarly, the handling for a mapped region on a deleted file is simply to append " (deleted)"[1].
[1]: https://github.com/woodruffw/procmaps.rs/blob/79bd474104e9b3...
procfs
-
Linux /proc/pid/stat parsing bugs
I've been working on a library[1] that aims to have fairly complete support for the procfs filesystem, so that you can hide away these annoying parsing quirks. But for some casual usage of /proc/ where you only need one tiny bit of information, it's often better to just roll your own parser instead of bringing in a 3rd party library. It's these small one-off cases that would really benefit from a standardized serialization format like you propose.
[1] https://github.com/eminence/procfs
-
The importance of SemVer for your applications
256: we expected to have a patch in u8, whereas the max of a u8 is 255, so we needed at least a u16. (https://github.com/eminence/procfs/pull/140).
What are some alternatives?
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
rust-prometheus - Prometheus instrumentation library for Rust applications
systeroid - A more powerful alternative to sysctl(8) with a terminal user interface 🐧
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
terraform-provider-aws - The AWS Provider enables Terraform to manage AWS resources.
Git - Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
pixie - Instant Kubernetes-Native Application Observability
psmisc