Table of Contents |
---|
| outlinh1. true |
---|
| outlinh1. true |
---|
1 | printablefalse |
---|
2 | stylh1. none |
---|
3 | indent20px |
---|
|
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 |
---|
language | bash |
---|
title | Windows 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 |
---|
language | bash |
---|
title | Windows 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
|