Gnu ps: Difference between revisions

From wikinotes
(Created page with " <source lang="bash"> # show the **current** environment for a pid (more accurate than /proc/${pid}/environ which shows only the STARTING env) ps -xep ${PID} </source>")
 
No edit summary
 
Line 1: Line 1:


<source lang="bash">
<source lang="bash">
# show the **current** environment for a pid (more accurate than /proc/${pid}/environ which shows only the STARTING env)
# show the environment for a PID at the time the process was started
ps -xep ${PID}
ps -xep ${PID}
</source>
</source>

Latest revision as of 01:59, 1 September 2023

# show the environment for a PID at the time the process was started
ps -xep ${PID}