Versions Compared

Key

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

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

Unfortunately there There is no JobScheduler command to get details about its used memory consumption.But you  You can use the following shell commands where mySchedulerID must has to be substituted replaced by your JobScheduler ID.


On Linux you can use {}ps{*}, i.e.the command ps like this:

Code Block

 ps -C scheduler ho vsz,cmd | grep "id=mySchedulerID " | awk '\{print $1\}'


On Windows you can use {}tasklist{} or {}wmic{*}, i.e.the programs wmic or tasklist like this:

Code Block
languagebash
titleWindows command wmic
Code Block

 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