Created
January 20, 2014 22:07
-
-
Save nigma/8530190 to your computer and use it in GitHub Desktop.
Chrome memory usage monitoring
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
@echo off | |
set TOTAL=-0 | |
for /F %%i IN ('WMIC PROCESS WHERE Description^="chrome.exe" GET workingsetsize ^| findstr "[0-9]"') DO set /a TOTAL+=%%i/1024/1024 | |
echo Chrome sucked up %TOTAL%MB of RAM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment