Skip to content

Instantly share code, notes, and snippets.

@cereal-s
Created May 22, 2017 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cereal-s/c4c07138aded7c6cf17bb4da5aa3c1cc to your computer and use it in GitHub Desktop.
Save cereal-s/c4c07138aded7c6cf17bb4da5aa3c1cc to your computer and use it in GitHub Desktop.
[BASH] Watch specific process
watch -n 2 'ps -opid,pri,%cpu,%mem,user,args -p `pgrep php`'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment