Skip to content

Instantly share code, notes, and snippets.

@dserodio
Last active November 29, 2018 15:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dserodio/01ab82da5f066958bd18 to your computer and use it in GitHub Desktop.
Save dserodio/01ab82da5f066958bd18 to your computer and use it in GitHub Desktop.
ps(1) tips and tricks
# show process start time for a give PID (GNU ps)
ps -o lstart= -p $PID
# show process start time for all processes (GNU ps)
ps ax -O lstart
# show process environment variables (BSD grep)
ps -Eww -p $PID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment