05-22-2018
5,091,
1,931
Join Date: May 2012
Last Activity: 15 July 2020, 4:46 AM EDT
Location: Simplicity
Posts: 5,091
Thanks Given: 565
Thanked 1,931 Times in 1,668 Posts
ps shows process arguments.
With options ps can peak process environment if the OS allows to access it. Most OS allow access for the process owner and uid#0 (root).
Exported shell variables are environment. Normal (not exported) shell variables are hidden to the outside.