Jump to content

Task Manager (Windows): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Numbo3-bot (talk | contribs)
m robot Adding: vi:Windows Task Manager
Line 17: Line 17:


==Processes tab==
==Processes tab==
The ''Processes'' tab shows a list of all running processes on the system. This list includes [[Windows Service|services]] and processes from other accounts. Prior to [[Windows XP]], process names longer than 15 characters in length are truncated. <ref> [http://yangcao88.spaces.live.com/blog/cns!45B36D487518CDF5!126.entry Magic 15 with GetProcessesByName on Windows 2000] </ref>
The ''Processes'' tab shows a aaaa list of all running processes on the system. This list includes [[Windows Service|services]] and processes from other accounts. Prior to [[Windows XP]], process names longer than 15 characters in length are truncated. <ref> [http://yangcao88.spaces.live.com/blog/cns!45B36D487518CDF5!126.entry Magic 15 with GetProcessesByName on Windows 2000] </ref>


Right-clicking a process in the list allows changing the priority the process has, setting processor affinity (setting which CPU(s) the process can execute on), and allows the process to be ended. Choosing to ''End Process'' will cause Windows to immediately kill the process. Unlike choosing ''End Task'' from the ''Applications'' tab, when choosing to ''End Process'' the program is not given warning nor a chance to clean up before ending. However, when a process that is running under a security context different than the one of the process which issued the call to TerminateProcess, the use of the KILL command line utility is required.<ref>http://support.microsoft.com/kb/155075</ref>
Right-clicking a process in the list allows changing the priority the process has, setting processor affinity (setting which CPU(s) the process can execute on), and allows the process to be ended. Choosing to ''End Process'' will cause Windows to immediately kill the process. Unlike choosing ''End Task'' from the ''Applications'' tab, when choosing to ''End Process'' the program is not given warning nor a chance to clean up before ending. However, when a process that is running under a security context different than the one of the process which issued the call to TerminateProcess, the use of the KILL command line utility is required.<ref>http://support.microsoft.com/kb/155075</ref>

Revision as of 20:58, 8 July 2009

Windows Task Manager is a task manager application included with Microsoft Windows NT family of operating systems that provides detailed information about computer performance and running applications, processes and CPU usage, commit charge and memory information, network activity and statistics, logged-in users, and system services. The Task Manager can also be used to set process priorities, processor affinity, forcibly terminate processes, and shut down, restart, hibernate or log off from Windows. Windows Task Manager was introduced with Windows NT 4.0, previous versions of Windows NT included the Task List application, which had far fewer features. The task list was capable of listing currently running processes and killing them, or creating a new process.

Launching Task Manager

The Task Manager can be launched using any of the following four methods:

  1. Using the context menu on the taskbar and selecting "Task Manager".
  2. Using the key combination Ctrl+Shift+Esc.
  3. In Windows NT, Windows 2000, and Windows Vista, use the key combination Ctrl+Alt+Del to open the Windows Security dialog, then click on "Task Manager". In Windows XP, pressing Ctrl+Alt+Del or Ctrl+Shift+Esc directly launches Task Manager, unless you have disabled the Welcome Screen.
  4. Starting "Taskmgr.exe" from a command line, GUI or a shortcut.

Applications tab

The Applications tab in Task Manager shows a list of programs currently running. There are a set of rules that are used to determine whether a process appears on this tab or not. Most applications that have a taskbar entry will appear on this tab, but this is not always the case.

Right-clicking any of the applications in the list allows (among other things) switching to that application, ending the application, and showing the process on the Processes tab that is associated with the application.

Choosing to End Task from the Applications tab causes a request to be sent to the application for it to terminate. This is different from what happens when End Process is chosen from the Processes tab.

Processes tab

The Processes tab shows a aaaa list of all running processes on the system. This list includes services and processes from other accounts. Prior to Windows XP, process names longer than 15 characters in length are truncated. [1]

Right-clicking a process in the list allows changing the priority the process has, setting processor affinity (setting which CPU(s) the process can execute on), and allows the process to be ended. Choosing to End Process will cause Windows to immediately kill the process. Unlike choosing End Task from the Applications tab, when choosing to End Process the program is not given warning nor a chance to clean up before ending. However, when a process that is running under a security context different than the one of the process which issued the call to TerminateProcess, the use of the KILL command line utility is required.[2]

By default the processes tab shows the user account the process is running under, the amount of CPU, and the amount of memory the process is currently consuming. There are many more columns that can be shown by choosing Select columns... from the View menu.

Performance tab

The performance tab shows overall statistics about the systems performance, most notably the overall amount of CPU usage and how much memory is being used. A histogram of recent usage for both of these values is shown. Details about specific areas of memory are also shown.

There is an option to break the CPU usage graph into two sections; kernel mode time and user mode time. Many device drivers, and core parts of the operating system run in kernel mode, whereas user applications run in user mode. This option can be turned on by choosing Show kernel times from the View menu. When this option is turned on the CPU usage graph will show a green and a red area. The red area is the amount of time spent in kernel mode, and the green area shows the amount of time spent in user mode.

Networking tab

The Networking tab shows statistics relating to each of the network adapters present in the computer. By default the adapter name, percentage of network utilization, link speed and state of the network adapter are shown, along with a histogram of recent activity. More options can be shown by choosing Select columns... from the View menu.

Users tab

The Users tab shows all users that currently have a session on the computer. On server computers there may be several users connected to the computer using Terminal Services. As of Windows XP, there may also be multiple users logged onto the computer at one time using the Fast User Switching feature. Users can be disconnected or logged off from this tab.

Tiny Footprint mode

Double-clicking certain areas in the Task Manager brings up an interface with excess information stripped away. This interface can also be resized. Double clicking again will return to the normal interface. This is called the Tiny Footprint mode. [3]

Windows Vista changes

File:Windows Task Manager Vista.png
A screenshot of Windows Task Manager in Windows Vista.

Windows Task Manager has been updated in Windows Vista with new features, including:

  • A "Services" tab to view and/or modify currently running services and start and stop any service as well as enable/disable the UAC file and registry virtualization of a process.
  • It is possible to add other columns such as a "Description" column to see the full name and path of a process and its DEP and virtualization status.
  • By right-clicking on any process, it is possible to directly open the Properties of the process executable or the directory (folder) containing the process.
  • The Task Manager has also been made less vulnerable to attack from remote sources or viruses as it must be operating under administrative rights to carry out certain tasks, such as logging off other connected users or sending messages. The user must go into the "Processes" tab and click "Show processes from other users" in order to verify administrative rights and unlock these privileges. Showing processes from all users requires all users including administrators to accept a UAC prompt, unless UAC is disabled. If the user is not an administrator, they must enter a password for an administrator account when prompted to proceed.
  • By right-clicking on any running process, it is possible to create a dump. This feature can be useful if an application or a process is not responding, so that the dump file can be opened in a debugger to get more information.

Security issues

Task Manager is a common target of computer viruses and other forms of malware; typically malware will close the Task Manager as soon as it is started, so as to hide itself from users. Variants of the Zotob and Spybot worms have used this technique, for example.[4] Using Group Policy, it is possible to disable the Task Manager. Many types of malware also enable this policy setting in the registry. Rootkits can prevent themselves from getting listed in the Task Manager, thereby preventing their detection and termination using it.

Confusion

There are many aspects about Task Manager that can cause confusion.

Terminology

Firstly, the name Task Manager is somewhat strange as there is no concept of a task in Windows. In reality it is a process manager. The Applications tab is also somewhat confusing as it is non-obvious what the rules are for an application to appear in the list (called the Task list) on this tab.

Secondly, the terminology used when referring to some aspects of memory is not in line with common usage. For example the Mem Usage column on the Processes tab is not the actual amount of memory that process is using; it is actually the process' working set. Similarly the VM Size column (not shown by default) is not the amount of virtual memory used by the process; it is actually the process' private bytes.

Numbers

Because of the nature of memory requests the decision about which process to charge memory against is not always clear. For example many important Windows files such as DLL files will be used by multiple processes. It is unclear what values many of the totals provided by Task Manager are based upon. As an example, the Mem Usage column on the Processes tab charges shared memory against all of the processes that share the memory. This is one of the reasons the commit charge total is not equal to the sum of every processes memory usage.

This area of confusion is not a criticism aimed at Task Manager. Rather it is an indication of the complexity of memory usage.

System idle process

The System Idle Process is the first process that is created when Windows is loaded, and it always has a process ID of 0. When the CPU has no other work to do, the System Idle Process is run and it simply puts the CPU in a sleep state. (There is actually one System Idle Process for each CPU in the system). Some users mistake the System Idle Process for a true process, and become concerned that the process is using all of their CPU time.

Also, any hardware interrupts that occur are shown under the System Idle Processes CPU usage. On the Performance tab, interrupts are shown on the CPU graph, leading to the confusing situation where the Performance tab may be showing significant CPU usage, while the Processes tab shows the system is completely idle.

Tasks under Windows 9x

A Close Program dialog box comes up when Ctrl+Alt+Del is pressed in Windows 9x. Also, in Windows 9x, there is a program called Tasks (TASKMAN.EXE) located in the Windows directory. TASKMAN.EXE is rudimentary and has fewer features. The System Monitor utility in Windows 9x contains process and network monitoring functionality similar to that of the Windows Task Manager. (Also, Tasks program is called by clicking twice on desktop if Explorer process is down.)

See also

References

  1. ^ Magic 15 with GetProcessesByName on Windows 2000
  2. ^ http://support.microsoft.com/kb/155075
  3. ^ "Task Manager Menu Bar and Tabs Are Not Visible", Help and Support, Microsoft, 2007-05-07, retrieved 2007-08-07 {{citation}}: Check date values in: |accessdate= and |date= (help)
  4. ^ Task Manager, MSCONFIG, or REGEDIT disappears while opening