...
Once users can visually confirm that those are indeed only the orphan processes of interest, they can proceed to kill them by extending the command to select extract a list of the process ID numbers IDs and pass them it to the kill
command:
Column |
---|
|
Code Block |
---|
language | bash |
---|
theme | DJango |
---|
title | Terminal 3. Killing unexpected/orphan VS Code processes |
---|
| $ ps -fea | grep ${USER} | grep -i "vscode" | grep -v "grep" | awk '{print $2}' | xargs kill -9
#Confirm that no vscode process exist:
$ ps -fea | grep ${USER} | grep -i "vscode" | grep -v "grep"
$ |
|
...