Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
width900px


Code Block
languagebash
themeDJango
titleTerminal 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"
$


...