Last active
November 29, 2018 15:27
-
-
Save dserodio/01ab82da5f066958bd18 to your computer and use it in GitHub Desktop.
ps(1) tips and tricks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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