воскресенье, 4 ноября 2018 г.

Как убить Chrome

Chrome is a good program as all we all know, but...
it uses a separate process for every tab it uses and it can eat a lot of RAM,
therefore we need sometimes to kill a Chrome, all its instances at once.
It is hardly possible with Task Manager GUI so we need CLI tool for our task.
There is such a tool and the good news - it is built in.
So all we need is to create a small batch-file and use it in case of need.

::==Start==
@echo off
Taskkill /T /IM chrome.exe /F
Taskkill /T /IM firefox.exe /F
Taskkill /T /IM iexplore.exe /F
EXIT /B
::==End==

As you see this file is closing all instances of all widespread browsers.

Explanation from Taskkill help:
/T -   Terminates the specified process and any child processes which were started by it.
 /IM   imagename - Specifies the image name of the process to be terminated.
Wildcard '*' can be used to specify all tasks or image names.
/F - Specifies to forcefully terminate the process(es).

It is also possible to terminate processes by PID or even by using of RAM.
There is more detailed description of applications killing on our site:

Комментариев нет:

Отправить комментарий