Skip to content

Instantly share code, notes, and snippets.

@oakaigh
Created February 21, 2020 18:21
Show Gist options
  • Save oakaigh/ae4f8303d97535c747e5e44148d4496f to your computer and use it in GitHub Desktop.
Save oakaigh/ae4f8303d97535c747e5e44148d4496f to your computer and use it in GitHub Desktop.
function pscmd() {
for e in $@; do
ps -p`pgrep $e` -wwo args | tail -n+2
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment