Skip to content

Instantly share code, notes, and snippets.

@mkormendy
Created March 30, 2017 18:54
Show Gist options
  • Save mkormendy/1009c7ca7e379a60b4ba146b67006896 to your computer and use it in GitHub Desktop.
Save mkormendy/1009c7ca7e379a60b4ba146b67006896 to your computer and use it in GitHub Desktop.
Terminal command to get process progress
watch lsof -p`pgrep -x cp`
@mkormendy
Copy link
Author

mkormendy commented Mar 30, 2017

Where cp is the process that's running.
E.g., watch lsof -p`pgrep -x process-name`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment