Skip to content

Instantly share code, notes, and snippets.

@gbraccialli
Created November 17, 2015 05:04
Show Gist options
  • Save gbraccialli/318d28a1a14aff4738db to your computer and use it in GitHub Desktop.
Save gbraccialli/318d28a1a14aff4738db to your computer and use it in GitHub Desktop.
yarn application -list | grep application_ | cut -f1 > tmpyarnkill.txt
while read LINE
do
echo "killing $LINE"
yarn application -kill $LINE
done < tmpyarnkill.txt
rm tmpyarnkill.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment