Skip to content

Instantly share code, notes, and snippets.

@razhangwei
Created June 19, 2019 22:57
Show Gist options
  • Save razhangwei/75b85e649b271df14075856d775d7a2a to your computer and use it in GitHub Desktop.
Save razhangwei/75b85e649b271df14075856d775d7a2a to your computer and use it in GitHub Desktop.
Wall clock time of a running process #Unix
PID=xxx
ps -p $PID -o etime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment