For software updates and introductions, see:
Mgen lightweight Task Manager Update and introduction
Directory
- 1. Software Information
- 2. Special Features
- 3. Technical Implementation
- 4. Known issues
Returned directory
1. Software Information
Name |
Mgen lightweight task manager |
License |
Free, open source code |
Operation requirements |
Microsoft. NET Framework 3.5 (Windows 7 will be available by default) |
Development code |
Jilant |
Compiler |
Microsoft Visual C #2010 Express |
Development language |
C #/Based on. NET 3.5/interface WPF |
Test Environment |
Running well on Windows 7 |
Appendix:
Microsoft. NET Framework 3.5 Simplified Chinese Microsoft official download page:
Network Installer: http://www.microsoft.com/downloads/zh-cn/details.aspx? Familyid = 333325fd-ae52-4e35-b531-508d977d32a6 & displaylang = ZH-CN
Note (for software developers ):
If your system is installed with Microsoft Visual C #2010 Express (or Microsoft Visual Studio 2010), we recommend that you download the program source code and compile the project into Microsoft. net Framework 4.0, because 4.0 is more stable. In fact, the program uses 4.0 for development and testing. During the release, considering that the majority of Windows 7 users do not have 4.0 pre-installed, they are changed to 3.5.
Main Interface: (the functions and advantages and features of my software for Windows Task Manager will be described in detail later)
Download the current version of the program and source code
Note: This is an archive of Microsoft SkyDrive. Please download it directly in your browser. Some download tools may not be available for download.
Sample program running environment:. NET Framework 3.5
Source code environment: Visual Studio 2010
Returned directory
2. Special Features
Anyone who uses the Windows Task Manager will use the software quickly and smoothly. The software name is "lightweight task manager", which does not have as many features as the Windows Task Manager, so what is the significance of the software compared to the readily available Windows Task Manager? This is something many may want to ask. Starting from this point, we will introduce the features of the software.
First, what is the purpose of using Windows Task Manager? I believe that 99% of the usage is concentrated on the "process", "application", and "performance" tabs.
These three tabs cover the use of Windows Task Manager 99%: (Note that this refers to all computer users, while only a small part of computer professionals, so it is too much to say that less than 99%)
- End by browsing computer processes or applications.
- View the computer performance.
Okay, next, my software: "Light Job Manager", where is light? That is, it only includes the above functions. Although it only includes, it covers the needs of 99% users to use the task manager.
Next, let's pick out the most important features! Task Manager, the main purpose is to end the task at a critical moment !!!
Let's take a look at the performance of Windows Task Manager:
On the Application tab, you can list processes with windows, but cannot force Process Termination. The command can only be sent like a process. You can also switch to the process to run a new process.
I think its biggest feature is that it is useless in a "crisis.
Now, imagine a scenario we should all have experienced: "A process is stuck and the window is white, but it still works crazy (endless loop ?), CPU and hard disk are all crazy, the computer is getting so slow, and moving the mouse pointer is the kind of one card and one card ......"
In this case, go to the Windows Task Manager Application Tab:
Click to end the task? : It is useless to end the dead process half a day.
Switch? : The Dead Process is split into a white box.
As we all know, you can only forcibly end the process on the process tab.
What are the application tabs? When no process is stuck? It doesn't make much sense. You can click X to close the process, switch the process in the taskbar, and run the process in the resource manager. It is rare to use the task manager to do this.
Next, the problem arises. The process tab can force Process Termination. However, the process on the process tab is the file name of the process, not the application name. You needConvert the application name on the Application tab to the process name.". I have to criticize Windows Task Manager again. This is too bad !!!! Many users may not know much about computers or English at all. In addition to the simplicity, such as QQ, QQ corresponds to qq.exe. Many others are only known by computer professionals. For example, notepad (Notepad will be stuck, for example, opening a large file) and many unknown programs ......
Well, I finally caught the handle of Windows Task Manager. In my figure, my task manager has the largest features:Process and Application merge into a window:
By default, the program ranks the processes with windows at the top. For example, the process name and description are displayed on the left. If a window exists for the process, the Application name is displayed on the "interface program" on the right. For example, when I access a web page from Internet Explorer, I got stuck. I found icycler.exe in the Windows Task Manager. I found ie in the interface program and forced him to end!
Secondly, we can see that my task manager also displays a lot of common information:
Name, description, interface program, response, memory, CPU, file path (display icon), process ID (PID ).
That sentence is enough for common civil use.
The Program also provides more visual display for many common functions, such as the CPU and memory of processes that are frequently concerned:
There is a red progress bar below, which makes the proportion clear at a glance!
Note:
The memory data displayed by the program is the "Working Set", while the data displayed by the Windows Vista/7 task manager is the "private working set ". The "private working set" is significantly less than the "Working Set", but the proportional relationship is basically consistent.
For processes that do not respond, an additional icon is displayed:
After talking about the display. Next, let's take a look at the process.
Program Process Termination functions:
Windows Task Manager also has the following options: Close the window and force the selected process to end.
The program does not have Windows Task Manager: Force end all the same names, force end does not respond. In addition, all functions support simultaneous operations by multiple processes, while Windows Task Manager only supports operations by a single process.
The above features are more user-friendly, such as "Force end not responding ". The user simply does not need to find the process that has not responded to the problem and is stuck. Click this button to kill all the processes that have not responded to the problem.
The second step is to force "end all the same names". This is very useful in some cases. I don't know if you have experienced such a situation. Some malicious scripts prompted IE to pop up continuously when you browse the Web page, at this time, it is obviously useless to end one by one. With this function, all IE will end at one time!
After each operation is completed, the execution result is displayed. For example, try to end all Windows processes: SVCHOST. An access denial error is prompted.
The above is the process function, not to mention how powerful, at least solved a lot of problems encountered when using the traditional Windows Task Manager, haha. The program also has a "performance" tab, which is the same as the "performance" of the task manager. However, the displayed data is not as professional as the task manager and only shows CPU and memory usage. Requirements for common users should be enough.
Main Interface of the program:
The main interface also supports canceling Interface Effects by checking the "cancel Interface Effects" check box in the upper right corner. After cancellation, return to the Windows theme page:
Returned directory
3. Technical Implementation
Confident readers may find that my blog articles in a certain period of time are all about some process monitoring or something. In fact, many of the technologies mentioned in this article have been written into the program development. The following is a small directory:
Process Termination:
. Net (C #): describes the methods for ending processes.
Process enumeration:
Methods for enumerating processes in. Net (C #)
. Net (C #): Obtain the performance counter name from the process ID. Performance Test
Process Information Extraction:
. Net (C #): Obtain the process PID in the performancecounter process.
. Net (C #) Use WMI to query the process PID in performancecounter
Call the WMI method to obtain the User Name of the process.
CPU and memory monitoring of processes
. Net (C #) to obtain the CPU usage of the process
. Net (C #): gets the private working set of the process's memory
CPU and memory performance monitoring
. Net (C #): monitor CPU and memory usage
. Net (C #) Monitoring CPU usage
. Net (C #) makes a system information viewer.
About Task threads
Mgen. basictask v2
. Net (C #): A simple loop execution thread model that supports pause, resume, and start/stop.
Interface controls
WPF: Custom tabcontrol and tabitem control templates
Create a simple WPF progressbar Template
About the page list (listview)
[Update to V2] An easy-to-use WPF listview click column sorting method
WPF: use additional attributes to record ListBox/listview selection information
WPF: changes the colors of listboxitem and listviewitem.
WPF: textblock. texttrimming in the horizontal stackpanel of listview fails.
Interface data/Resources
WPF: Copy icollectionview to keep the memory after datasource changes
WPF: dynamically Delete resource results
Use celltemplateselector of gridviewcolumn in WPF
Interface File Information Extraction
. Net (C #): Use the fileversioninfo class to create a simple File Information viewer.
WPF mvvm simple File Browser
Returned directory
4. Known issues
- Sorting is not automatically updated. For example, even if you sort programs by CPU, they are sorted correctly. However, CPU changes will not update the sorting again. This is an old issue of WPF data sorting. Currently, no good solution is found.
- An unhandled exception is thrown. Although the program tries its best to prevent the program from exiting directly due to an unhandled exception throw. However, unknown exceptions are thrown at some times (when the execution result is displayed after the operation is executed), but no valid information is found, in debug mode, no exceptions are noticed (some are speechless ).
- When some XP systems run, the interface will flash and then disappear. It looks good to run it several times.