Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (6 sloc) 498 Bytes
#!/bin/bash
# vscode might cause high CPU usage with certain F# projects, kill these processes to amend the situation
/bin/ps -ef | grep --color=no -v "grep" | grep --color=always -G "fsautocomplete.dll"
/bin/ps -ef | grep --color=no -v "grep" | grep --color=no -G "fsautocomplete.dll" | awk '{print $2}' | xargs kill -9
echo "--------------------------------------------------------------------------------"
/bin/ps -ef | grep --color=no -v "grep" | grep --color=always -G "fsautocomplete.dll"