Hacker News new | ask | show | jobs
by tdoot 1283 days ago
Interesting there's no mention of the /proc filesystem (https://docs.kernel.org/filesystems/proc.html).

cat /proc/<pid>/environ would be a solid addition to this list.

2 comments

Yep - a bunch of ways to read/use proc in arguably roundabout ways (things you may not be able to install)... but no mention of /proc

I use /proc/$PID/limits quite a bit in particular

True, but as written it has advice applicable to non-linux environments like MacOS, which don't have /proc.