Skip to content

Instantly share code, notes, and snippets.

@nigma
Created January 20, 2014 22:07
Show Gist options
  • Save nigma/8530190 to your computer and use it in GitHub Desktop.
Save nigma/8530190 to your computer and use it in GitHub Desktop.
Chrome memory usage monitoring
@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