Re:How I doubled the battery life on my Mac by closing one t...
by lukifer on Wednesday February 17, 2016 @10:55AM
(#11118649)
Thanks for the tip! I frequently prune task processes manually, and I didn't know that killing all helper processes was safe to do. :D
Re:How I doubled the battery life on my Mac by closing one t...
by SeanDav on Wednesday February 17, 2016 @09:42AM
(#11118100)
Is there a Windows equivalent process?
Re:How I doubled the battery life on my Mac by closing one t...
by vardump on Wednesday February 17, 2016 @09:57AM
(#11118217)
Well, this is a bit hackish, but I got this to work with a minute of effort:
wmic Path win32_process Where "CommandLine Like '%chrome.exe\" --type=renderer%'" Call Terminate
Tried it on Windows 10, latest Chrome. Ctrl-r didn't work on those killed tabs, had to click reload button. But other than that, the effect seemed to be same than on OS X.
Use at your own risk.
You can't use taskkill, because on Windows, all Chrome processes have the same file name, chrome.exe.
Edit:
This one should be a bit more reliable and safer. Note that it is not completely visible because of HN CSS:
wmic Path win32_process Where "CommandLine Like '%--type=renderer%' and Name='chrome.exe'" Call Terminate
Chrome seems to even remember textarea / input contents.
Edit: Not that I've ever had any issues with that simple killall, however the following might be safer, it tries to match the process path, name and "--renderer" command line parameter: