Skip to content

px feature request: show process environment variables #116

@Abdull

Description

@Abdull

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions