Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

px feature request: show process environment variables #116

Open
Abdull opened this issue Aug 9, 2023 · 0 comments
Open

px feature request: show process environment variables #116

Abdull opened this issue Aug 9, 2023 · 0 comments

Comments

@Abdull
Copy link

Abdull commented Aug 9, 2023

I think it would be a great feature for px to also show the target process' environment variables.

procfs provides /etc/"$SOME_PID"/environ. Executing e.g. strings /proc/"$SOME_PID"/environ or cat /proc/"$SOME_PID"/environ | tr '\000' '\n' shows process $SOME_PID's environment variables at the time that process was started.

Maybe it is even possible to additionally show process $SOME_PID's environment variables at the moment they are investigated with px (i.e., "the current environment of that process).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant