eminence / procfs

Rust library for reading the Linux procfs filesystem
Other
362 stars 106 forks source link

parse uid for /proc/net/{tcp,udp} #231

Closed trinity-1686a closed 1 year ago

trinity-1686a commented 1 year ago

Hi,

I was evaluating this crate for my use case, and it happens to skip over the exact bit of data I'm interested in.

I also added some #[non_exhaustive] on structures where some columns are skipped over, so that parsing these in the future isn't a breaking change semver-wise

trinity-1686a commented 1 year ago

hum, CI is unhappy but it looks like it's not related to my changes. Sleeping 30ms might not always be enough in test_proc_alive

eminence commented 1 year ago

Yeah, I think that 30ms sleep needs to be bumped up. The test passed on re-run. Thanks for the PR, I'm not sure why I ignored UID in the first place. This LGTM