Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleUnix command: ps
 ps -C scheduler ho vsz,cmd | grep "id=mySchedulerID " | awk '{print $1}'

...

Code Block
languagebash
titleWindows command: wmic
 for /F "usebackq skip=1" %i in (`wmic process where "name='scheduler.exe' and commandline like '%-id=mySchedulerID %'" get workingsetsize`) do @echo.%i
Code Block
languagebash
titleWindows command: tasklist
 for /F "usebackq tokens=5,6" %i in (`tasklist /FI "ImageName eq scheduler.exe" /FI "Services eq sos_scheduler_mySchedulerID" /NH`) do @echo.%i%j