Windows 2000 Processes
Process Priority Setting
Process priority may be set to a value from 1 to 31. Priorities are categorized as follows:
- 0-7 - Low user
- 7-15 - High user
- 15-23 - Real Time
- 23-31 - Administration only
Base thread priority is 8. Threads inherit the base priority of their parent process. The NT operating system can vary priorities higher or lower by a value of two in order to remain responsive. Processes may be launched with different priority settings from the command line using the following syntax:
start /priority /path/name.exe
The "/path/name.exe" is the path to and name of the program to be run. Where /priority may be:
- /low - Priority 4
- /belownormal - Priority 6
- /normal - Priority 8
- /high - Priority 13
- /realtime - Priority 24
Other options:
- /min - The application starts in a minimized start window.
- /max - The application starts in a maximized start window.
- /separate - The application starts in a separate memory area.
- /shared - The application starts in a shared memory area.
|
|
Setting Priority of foreground tasks
To modify foreground task priority use the system applet in the control panel. Selecting the performance tab will allow three foreground task settings to be set. If set to none on the left, foreground tasks are not boosted in priority, On the middle setting foreground tasks get a priority increase of 1. On the right on the maximum setting, foreground tasks get a priority increase of two.
Task Manager
Can be used to start and stop applications, change process priority, and monitor performance statistics. It can be used to change the priority of a process, by right clicking on the process and selecting "Set Priority". Can enter the task manager one of the following ways:
- Press CTRL ALT DEL and select Task Manager
- Press CTRL SHIFT ESC
- Right click the taskbar and select Task Manager
- Select "Start, "Run", and type "taskmgr".
Tabs include:
- Applications
- Processes - Shows PID, CPU, CPU time, and memory usage.
- Performance - Shows:
- CPU usage and history
- Memory usage and history
- Total handles, threads, and processes
- Physical memory
- Commit Charge - Memory allocated to the system or programs.
- Kernel memory
|