Full contact with Task Manager

Source: Internet
Author: User
Full contact with Task Manager

(Author: mikespook | Release Date: | views: 559)

Keywords: Task Manager, process, System
Windows 2000 is quite stable, and crash is rare. However, due to program errors or compatibility issues, sometimes programs are suspended. "The damn program is dead again !" You may often complain this way, and you are used to turning off the "unresponsive" program by opening the task manager. Until the next time the "damn program" does not respond, you may not use the task manager any more. Does the Task Manager only function here? Let's take a look at how to better use the task manager to help us use computers.
How did you use the task manager? Press CTRL + ALT + DEL to bring up the "Windows Security" dialog box and select "Task Manager "? Of course this is a method. But let's look at other methods. I think the fastest way to press Ctrl + Shift + ESC is to call up the task manager. If you press the keyboard late, right-click the taskbar and select the menu item "Task Manager ". Of course, if you feel that these three methods are not satisfactory, you can directly run the taskmgr.exe file in winnt/system32directory. Don't worry. ^ @ ^
Open the task manager and we can see the figure 1 interface.
Figure 1
There are three tabs on this interface: "application", "process", and "performance ". The following describes the functions of these three tabs.
The "application" tab may be the most commonly used one. All applications listed in this list run as foreground tasks, excluding service projects and some background tasks. The column corresponding to the "task" is the name of the specific program instance, which is generally the title of the form. The "status" indicates the current running status of the "task", which can be "running" or "not responding. The list contains three function buttons, which are very convenient. You can select a task and click "End Task" to terminate it. You can also click "switch to" to activate the task to the front-end display (active ). Click "new task" to run a program or open a file. It serves the same purpose as running in the Start Menu.
After you select a task, you can right-click it to bring up the pop-up menu (figure 2 ).
Figure 2
The functions of "switch to" and "End Task" are the same as those of the buttons below. The "front" and "switch to" functions are similar, but the task manager does not minimize itself. "Minimization", "maximization", "cascade", "Horizontal tile", and "vertical tile" all operate on the windows of the selected task. Very easy to understand. You can try it. In this menu, it is worth noting that the "go to process" function is provided. When we select a task and execute this function in the menu, the task manager jumps to the second tab, "process ". In the process list, use a gray bar to mark the process corresponding to the task you selected in the "application" list. Next, let's take a look at some things on the "process" tab.
The processes tab lists the active processes running in the current system. It includes foreground programs, background services, and various system daemon processes (Figure 3 ).
Figure 3
The default process list contains the following columns.
1. Image name
This is the name of the running process. In principle, a process is not named in the system, and only one process ID is used to identify it. Here, the process name is a more friendly name, allowing you to better differentiate processes. For general processes, the name ending with cmd.exe is displayed. You can directly identify the process of the program from the name. However, there are several exceptions, such as system and system idle process.
2. PID
The abbreviation of process ID, that is, the process ID mentioned above. This ID is unique in the system and used to mark
Process. The IDS of each process are different, even if they are multiple runs of the same program.
3. CPU
This is a hard-to-be-clear concept, but it is actually easy to understand. It is actually the percentage of CPU time allocated to each process. Confused? To put it simply, when the CPU value of a process is 2, the system actually allocates 2% CPU time for the process. When the operating system is idle, the system will run the aforementioned system idle process (like the name of this process: the system idle process ). So you will find that the CPU value of this process is very high. Why? Your computer is always waiting for you to operate!
4. CPU time
This is a time displayed in HH: mm: SS (hour: minute: Second) format. In fact, this is the sum of the running time of the process. For example, the CPU time of the word process I typed so far is 0:01:06 (Wow! It took so long to use such a machine .).
5. memory usage
This column shows the memory usage of the current process. This is a bit different from what we usually understand. It is also a misunderstanding of most people. The memory used here is not entirely the use of RAM, but also the space in the virtual memory. So if you want to count the total memory usage in the list, the number may be too big.
The above five items are the default display columns. You can also choose "View"> "Select column" from the menu to select the information of the process you want to display (figure 4 ).
Figure 4
I will not talk about other options. One is because these options are rarely used, and the other is that if you want to make it all clear here, I am afraid you will use such a book (it is strange that the editors will not kill me !). But there are two options to mention: "basic priority" and "thread count ".
"Basic priority" is actually a hierarchical setting made by the operating system to determine how to allocate CPU time slices. For processes with a higher priority, more CPU time slices will be allocated (in fact, which process consumes a little more CPU time ). If you select this option column, you will see the priority of each process. Generally, the priority of a common process is standard, while that of a daemon is high. Of course, you can adjust the priority of the process to meet the needs in special scenarios. I will talk about how to adjust it soon.
"Thread count" I don't know if it is useful to you. It is a commonly used option column. For example, when writing a multi-threaded program, you do not set a thread counter in your program, but want to know whether there are several threads running, you can view it here. What? You don't write a program? Run X-scan to check whether multithreading works well. ^ @ ^
Next, let's talk about the context menu of the Process List, my favorite part.
Why is it my favorite part? I think this is the most powerful function of the task manager. If you use these functions, your system can run stably and efficiently. Okay, no nonsense. Let's continue.
Figure 5
Select the process you need and right-click the process to display the pop-up menu shown in Figure 5.
The "End Process" and "End Process Tree" are used to end one or more processes. You may have heard about the process tree in the header. I want to explain it here. The so-called process tree is actually a group of processes, and this group of processes (Child processes) are created by a process (parent process. When you select the "End Process Tree", all processes in the group will be terminated. We strongly recommend that you use this function when you end the parent process. In this way, we can ensure that the process releases all resources without freezing processes (Wow, what is a zombie process? The more you say it is. You only need to know this concept: the child process needs to be released by the parent process. When the child process ends and the parent process has not yet been released, sub-processes are in the zombie Process status .).
"Debugging" is also a very useful function. When you need to debug a process, you can simply use this function to see how a process is executed. Of course, the premise is that you have installed a debugger in your system (I used a BCB and a vs. Net debugger, what about you ?). I don't care how the process is executed. Haha, yeah, you don't care how the process is executed, but what about the registration codes? Don't you care? Right! With this function, you can perform some simple cracking. Pai_^
Do you still remember the basic priority mentioned above? "Set priority" is used to adjust this. You can adjust the CPU time obtained by the process by adjusting the priority. For example, if your computer does nothing, you can create an online game server. You can adjust the priority of the server process to a higher level (note that this is not an absolute one, but may reduce the system performance .). By the way, do not set the priority of a process to "real-time ". If you are not lucky enough to run into a program with a CPU time slice, you can only reset it. Remember!
I was a little tired after talking so much in one breath. Let's give you a try. Generally, a poorly written Trojan cannot escape the process list. (we should say that we do not use DLL injection to inject such a trojan. Of course, this is beyond the scope of this article .). If you find that the system is not running normally and there are new processes you don't know, you should be vigilant. For example, what QQ publicity machine did the rotten friend c00lw0lf a few days ago. After running, every time you open QQ chat with friends, it will automatically send an advertisement for his website address. You can find the process named qqs.exe in the process, and then stop the process to stop the annoying publicity machine. Which of the following is qqs.exe? The executable file name of another QQ publicity machine is qqs.exe. What if you change the executable file name to qq.exe? The image name is qq.exe. Now you know how to use this to check the Trojan process? Generally, Trojans disguise their own names, such as Windll, logdll, and svcdll, which are very similar to system files. So when you see such a name and are sure it is not the original file in the system, you should be vigilant!
The following is a brief description of the "performance" option card (figure 6 ).
Figure 6
I personally think this is not very useful. However, it provides you with an overall system running status report. The CPU usage records and memory usage records displayed in the line display intuitively reflect the system load. It should be said that this information is sufficient if you want to simply understand the running status of the system.
Now, we have finished the introduction of the three tabs. In general, the task manager is just like this. I have not made it clear or I have omitted it. For details, refer to "Task Manager help topic. Don't underestimate the tools included in this system. The knowledge is great. If you fully understand all the functions of the task manager, I promise that you will pass the examination of the operating system. What? What is your full score from the operating system? I'm crazy ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.