Skip to content

Instantly share code, notes, and snippets.

@dserodio

dserodio/scrap.sh

Last active Nov 29, 2018
Embed
What would you like to do?
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