nice - Windows command-line utility to invoke a utility with a specific priority
nice [-n increment] utility [argument...]
nice [-increment] utility [argument...]
The nice(1w) utility invokes a utility with a scheduling priority if the user has the appropriate permission. (Scheduling priority is computed based on the base priority of the calling process and the specified increment.) If the user lacks the appropriate permission to increase the scheduling priority, a warning message is written to the standard error but will not prevent the invocation of the utility or affect the exit status.
To use nice, the user must have permission to increase scheduling priority. For information about how to grant this permission, refer to the Windows operating system documentation.
The nice utility supports the following option:
The nice utility supports the following arguments:
Possible exit-status values are:
Note
nice -n -3 myprog.exe
If the default base priority is normal (inherited from the calling process), myprog.exe is invoked with high priority in Windows NT 4.0, and above-normal priority in Windows 2000, subject to the user having appropriate permissions.
nice -n 3 myprog.exe
If the default base priority is normal (inherited from the calling process), myprog.exe is invoked with normal priority in Windows NT 4.0, and below-normal priority in Windows 2000.
nice -n -18 myprog.exe
If the default base priority is high (inherited from the calling process), myprog.exe is invoked with real-time priority in both Windows NT 4.0 and Windows 2000, subject to the user having appropriate permissions. In this case, a warning message is displayed because the resultant priority value exceeds the maximum priority value specified by Windows NT.
renice(1w)