The Win32_NamedJobObjectLimitSetting class represents the limit settings for a job object. The limit settings specify the resources available to the job in accord with how the limit setting flags are set.
Win32_NamedJobObjectLimitSetting properties
Win32_NamedJobObjectLimitSetting has 14 properties (11 Local, 3 Derived)
'Specifies the active process limit for the job. If you try to associate a process with a job, and this causes the active process count to exceed this limit, the process is terminated and the association fails. Ignored unless LimitFlags specifies Active Process Limit.'
ActiveProcessLimit property is in 1 class (Win32_NamedJobObjectLimitSetting) of ROOT\CIMV2\ms_409 and in 2 namespaces
'Specifies the processor affinity for all processes associated with the job. The affinity of each thread is set to this value, but threads are free to subsequently set their affinity, as long as it is a subset of the specified affinity mask. Processes cannot set their own affinity mask. Ignored unless LimitFlags specifies Limit Affinity.'
Affinity property is in 1 class (Win32_NamedJobObjectLimitSetting) of ROOT\CIMV2\ms_409 and in 6 namespaces
['Limit Working Set', 'Limit Process Time', 'Limit Job Time', 'Active Process Limit', 'Limit Affinity', 'Limit Priority Class', 'Limit Preserve Job Time', 'Limit Scheduling Class', 'Limit Process Memory', 'Limit Job Memory', 'Limit Die On Unhandled Exception', 'Limit Breakaway OK', 'Silent Breakaway OK']
CIMTYPE
'uint32'
Description
'The LimitFlags property indicates the limits that are in effect. One or more of the following limits can be in effect: Limit Working Set - Causes all processes associated with the job to use the same minimum and maximum working set sizes. Limit Process Time - Establishes a user-mode execution time limit for each currently active process and for all future processes associated with the job. Limit Job Time - Establishes a user-mode execution time limit for the job. This flag cannot be used with Limit Preserve Job Time. Active Process Limit - Establishes a maximum number of simultaneously active processes associated with the job. Limit Affinity - Causes all processes associated with the job to use the same processor affinity. Limit Priority Class - Causes all processes associated with the job to use the same priority class. Limit Preserve Job Time - Preserves any job time limits you previously set. As long as this flag is set, you can establish a per-job time limit once, then alter other limits in subsequent calls. This flag cannot be used with Limit Job Time. Limit Scheduling Class - Causes all processes in the job to use the same scheduling class. Limit Process Memory - Causes all processes associated with the job to limit their committed memory. When a process attempts to commit memory that would exceed the per-process limit, it fails. If the job object is associated with a completion port, a JOB_OBJECT_MSG_PROCESS_MEMORY_LIMIT message is sent to the completion port. Limit Job Memory - Causes all processes associated with the job to limit the job-wide sum of their committed memory. When a process attempts to commit memory that would exceed the job-wide limit, it fails. If the job object is associated with a completion port, a JOB_OBJECT_MSG_JOB_MEMORY_LIMIT message is sent to the completion port. Limit Die On Unhandled Exception - Forces a call to the SetErrorMode function with the SEM_NOGPFAULTERRORBOX flag for each process associated with the job. Limit Breakaway OK - If any process associated with the job creates a child process using the CREATE_BREAKAWAY_FROM_JOB flag while this limit is in effect, the child process is not associated with the job. Silent Breakaway OK - Allows any process associated with the job to create child processes that are not associated with the job. '
LimitFlags property is in 1 class (Win32_NamedJobObjectLimitSetting) of ROOT\CIMV2\ms_409 and in 2 namespaces
'Specifies the per-job user-mode execution time limit, in 100 nanoseconds. The system adds the current time of the processes associated with the job to this limit. For example, if you set this limit to 1 minute, and the job has a process that has accumulated 5 minutes of user-mode time, the limit actually enforced is 6 minutes.'
Units
'100 nanoseconds'
PerJobUserTimeLimit property is in 1 class (Win32_NamedJobObjectLimitSetting) of ROOT\CIMV2\ms_409 and in 2 namespaces
' Specifies the per-process user-mode execution time limit, in 100 nanoseconds. It is ignored unless LimitFlags specifies Limit Process Time.The system periodically checks to determine whether each process associated with the job has accumulated more user-mode time than the set limit. If it has, the process is terminated. '
Units
'100 nanoseconds'
PerProcessUserTimeLimit property is in 1 class (Win32_NamedJobObjectLimitSetting) of ROOT\CIMV2\ms_409 and in 2 namespaces
'Specifies the priority class for all processes associated with the job. Processes and threads cannot modify their priority class. Ignored unless LimitFlags specifies Limit Priority.'
'Specifies the scheduling class for all processes associated with the job. The valid values are 0 to 9. Use 0 for the least favorable scheduling class relative to other threads, and 9 for the most favorable scheduling class relative to other threads. Ignored unless LimitFlags specifies Limit Scheduling Class.'
SchedulingClass property is in 1 class (Win32_NamedJobObjectLimitSetting) of ROOT\CIMV2\ms_409 and in 2 namespaces
Derived properties (3) of Win32_NamedJobObjectLimitSetting class
'The identifier by which the job object limit setting instance is known. As a Kernel object job object names are case sensitive. Because WMI keys are case insensitive, the name of the named job object must be decorated as follows: a capital letter should be preceded by a backslash. As a consequence of this convention, 'A' and 'a' are lower case and '\A' and '\a' are upper case.'
'The Win32_NamedJobObjectLimitSetting class represents the limit settings for a job object. The limit settings specify the resources available to the job in accord with how the limit setting flags are set.'
✗
✓
✓
✗
✓
LOCALE
1033
✓
✗
✓
✗
✓
Win32_NamedJobObjectLimitSetting System properties