Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1 KB

File metadata and controls

26 lines (15 loc) · 1 KB

cpptools KILLER

Ever tried to open a Linux kernel source directory on a shared workstation using Visual Studio Code? If you or one of your colleages have, then you must know how it feels to have a thousand cpptools process eating up all your CPU and memory.

With this script, all your troubles are gone! The script not only kills all the cpptools processes, but prevent all future cpptools processes from spawning as well.

Requirements

Usage

Use the run.sh to run once. The effectiveness continues until the device is powered off or rebooted.

Start on Boot

cp ./cpptools-killer.stp /etc/systemtap/script.d/

See man 8 systemtap-service for details.

Caveats

All processes with a name containing "cpptools" will be called.