Skip to content

Instantly share code, notes, and snippets.

@steermomo
Created March 22, 2019 05:47
Show Gist options
  • Save steermomo/1bdce58d9cea5079094ea1b58315422e to your computer and use it in GitHub Desktop.
Save steermomo/1bdce58d9cea5079094ea1b58315422e to your computer and use it in GitHub Desktop.
fuser -v /dev/nvidia* |awk '{for(i=1;i<=NF;i++)print "kill -9 " $i;}' | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment