-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a37719
commit 0119feb
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Google's software reporter tool routinely sucks up a huge amount of CPU. This kills the process whenever it shows up. | ||
|
||
# Build | ||
|
||
```sh | ||
pyinstaller kill.py -F --noconsole -n software_reporter_killer | ||
``` | ||
|
||
# Install | ||
|
||
`C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from psutil import process_iter | ||
from time import sleep | ||
|
||
while(1): | ||
for proc in process_iter(): | ||
if proc.name() == 'software_reporter_tool.exe': | ||
proc.kill() | ||
sleep(60) |