Skip to content

Instantly share code, notes, and snippets.

@t-cyrill
Last active September 28, 2015 01:55
Show Gist options
  • Save t-cyrill/d303f96e9c94e8fea81c to your computer and use it in GitHub Desktop.
Save t-cyrill/d303f96e9c94e8fea81c to your computer and use it in GitHub Desktop.
Process Diff
ssh $HOSTNAME "ps -e -o comm= | sort | uniq" > /tmp/processlist
diff -u <(ps -e -o comm= | sort | uniq) /tmp/processlist | egrep "^[-+]"
rm /tmp/processlist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment